Controversial? Futures should expose a form of "then" returning void. Efficient when no future is needed and can be used at a lower-level to build future-returning "then" (assumes a "package" function). Can also use it to efficiently "convert" futures (i.e. from boost to stlab).
-
Show this thread
Replying to @CppSage
Or, more generally, give us the ability to overload a function for the special case in which its return value is discarded.
7:10 PM - 12 Feb 2018
0 replies
0 retweets
2 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.