Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: