tdauth / cpp-futures-promises

Advanced futures and promises in C++.
GNU General Public License v3.0
16 stars 0 forks source link

Add UniqueFuture and UniquePromise #22

Open tdauth opened 5 years ago

tdauth commented 5 years ago

The default should be shared futures and promises. For performance optimization, we could also provide futures and promises which can only be moved. How do we implement derived features for such futures and promises?

Add methods share to allow a conversion.