Re:Appending to an std:string character-by-character: how do...
by jeffbee on Thursday October 26, 2023 @09:12PM
(#38033598)
Yeah, it's nice! And Abseil does it, IFF you use LLVM libc++.
https://github.com/abseil/abseil-cpp/blob/master/absl/string...
The standard adopted it as resize_and_overwrite. Which I think is a little clunky.
[0] https://github.com/facebook/folly/blob/3c8829785e3ce86cb821c...