Re:Coroutines are now in Clang trunk, libc++
by fiddlerwoaroof on Friday May 26, 2017 @10:18AM
(#14424210)
Doesn't std::shared_pointer help with the copy constructor issue?
[ Parent
| on HN ]
If you mean using shared_ptr everywhere, then 1) this would be extremely non-idiomatic C++, 2) you can still forget to do so, and 3) the moment you do, the language makes it ridiculously easy to implicitly copy something.