mozilla-services/powerhose — Issue #6: Use string, not char * in C++ APIs
Author: indygreg
Created: 2012-03-01 22:48:26+00:00
State: open

If writing a C++ API, consume ::std::string from your API, not char *. This is the C++ way of doing it. Since zmq wants a char * for the endpoint, you can get at it through ::std::string.char_s() or something like that.