Re:Catching use-after-move C++ bugs with Clang's consumed an...
by namirez on Thursday July 11, 2019 @12:09AM
(#20409043)
Shallow copy is the general concept. Move semantics is a special case where the unique ownership is enforced. Here is simple example of the idea:
[ Parent
| on HN ]