Re:Care is needed to use C++ std:optional with non-trivial o...
by zabzonk on Friday January 13, 2023 @08:29AM
(#34367358)
i have been using std::string for many, many years and have never needed to know how my specific standard libraries implement it. if i want to worry about performance, i do it by timing and profiling, not reading standard library code.
[ Parent
| on HN ]
Re:Care is needed to use C++ std:optional with non-trivial o...
by secondcoming on Friday January 13, 2023 @08:46AM
(#34367556)
Really, you didn't care that C++11 forbade Copy-On-Write for std::string, or you never cared about the Short String Optimisation length that each platform supports?