[zeromq-dev] why do czmq methods take a char* parameter and not const char*?

Turkey Breast turkeybreast at yahoo.com
Sat Mar 8 02:26:44 CET 2014

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?

More information about the zeromq-dev mailing list