I have a class like this one:
class Test{ public: Test(string value); Test(bool value); };
If I create an object like this:
One way is to create a variable of type std::string and pass the variable in:
std::string test = "TEST"; A a(test);
This way the type is explicitly defined as std::string it won't default to the constructor that accepts bool
std::string
bool