Re:C++ coroutines: Initial implementation pushed to master
by rossmohax on Sunday January 19, 2020 @08:11AM
(#22091253)
AFAIK this very problem is addressed with introduction of move semantic and the goodness, which comes with it, such as unique_ptr instead of raw pointers. With that default move assignment operator does the right thing by default. So C++ langauge development actually improves simplicity and correcness as least for this particular example.
[ Parent
| on HN ]
There are no comments on this comment yet.