Re:Small Strings in Rust: smolstr vs. smartstring
by dpassens on Saturday August 24, 2024 @02:29PM
(#41340289)
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.
[ Parent
| on HN ]