Implicit conversion of strings to C-strings not allowed in C++