stlab / libraries

ASL libraries will be migrated here in the stlab namespace, new libraries will be created here.
https://stlab.cc
Boost Software License 1.0
661 stars 65 forks source link

Fixes to futures #505

Closed sean-parent closed 1 year ago

sean-parent commented 2 years ago

Fixed unnecessary copies of copyable result types when futures are used as rvalues. Propagating exceptions for move-only types are now scheduled on the executor (I'm not sure why they were not scheduled before). Added copy() algorithm to utility.hpp to explicitly copy objects. Added docs and tests.