Re:Libc++'s Implementation of std::string
by OskarS on Friday January 31, 2020 @03:49AM
(#22200129)
In addition to what other people have said, the move semantics introduced in C++11 made a lot of the benefit of CoW moot: the point of CoW is to have a cheap copy operation, but most of those cheap copy operations can be replaced by even cheaper moves, often automatically by the compiler.
[ Parent
| on HN ]
There are no comments on this comment yet.