I'm writing a c++ wrapper and this causes problems because a) string constants casting to char* is discouraged b) const char* std::string::c_str() needs a const_cast<char*> which is dodgy. Is there any chance to make some of these methods with const char* instead?