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

But the return value guarantee is, as far as I can see, a C++11 change, so you can't ignore those. And as of C++11, c_str is noexcept, so it cannot allocate anything.


Please see my edit.




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

Search: