3 ms·
> std::string has a byte length,an allocation capacity, a nil terminator and the content. This is only true post C++11, I believe. C++03 was much more permissi
by saagarjha 8y ago
> std::string has a byte length,an allocation capacity, a nil terminator and the content.
This is only true post C++11, I believe. C++03 was much more permissive about how std::strings were laid out internally.