What is the return type of the string("some text") expression? Isn't it string?
The following is telling me it is not. The explicit declaration specifier is blocking the initialization.
Code://with the following constructor... explicit someClass(const std::string&); //... this definition attempt fails someClass test = string("Rachmaninov");