3 ms·
std::string isn't reference-counted in a conforming implementation (that doesn't do atomic ops just for fun).
by tines 11y ago
std::string isn't reference-counted in a conforming implementation (that doesn't do atomic ops just for fun).
- arielby 11y agowell C++11 strings are just "reallocate when you look at them funny". Or you use shared_ptr and are back to square 1.