News for hackers. Stuff that matters.
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?
Re:Coroutines are now in Clang trunk, libc++ by int_19h on Friday May 26, 2017 @01:55PM (#14425947)
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.