Hrm. C++ supports implicit conversion operators.
So, why the hell doesn’t std::string have one for const char *? That’d eliminate the use of .c_str() when talking to libc and other C libraries, outside of variadic parameters.
Don't have an account? You can sign up here