Comment by dataflow
1 year ago
> std::string isn't null terminated
It is as of C++11. The constness of c_str() threw a wrench into that as soon as C++ got a threading model.
1 year ago
> std::string isn't null terminated
It is as of C++11. The constness of c_str() threw a wrench into that as soon as C++ got a threading model.
No comments yet
Contribute on Hacker News ↗