I\'m having some trouble overloading methods in C++. As an example of the problem, I have a class with a number of methods being overloaded, and each method having one parameter
The order is of no importance. The problem here is that when you invoke
Method("string");
you are passing a const char[]. This will be converted to bool implicitly. What you want to do is pass an std::string explicitly:
Method( std::string("string"));