News for hackers. Stuff that matters.
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.
Re:Small Strings in Rust: smolstr vs. smartstring by dataflow on Saturday August 24, 2024 @03:08PM (#41340616)
Please see my edit.