Nope! `std::string` is not null terminated. The `const char *` passed into the 
construct is null terminated it effectively results in `char[strlen(cstr)] 
chars; memcpy(chars, cstr, strlen(cstr));` (obviously not C++ code, just an 
illustration).

[ Full content available at: https://github.com/apache/geode-native/pull/424 ]
This message was relayed via gitbox.apache.org for 
[email protected]

Reply via email to