Y
Hacker News
new
|
ask
|
show
|
jobs
by
dpassens
656 days ago
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.
1 comments
dataflow
656 days ago
Please see my edit.
link