Commit 17751e04 authored by Hans Fugal's avatar Hans Fugal Committed by Sara Golemon

(easy) remove cruft comment

Summary: We have this now.

Reviewed By: @jsedgwick

Differential Revision: D2191642
parent 11e76315
...@@ -165,10 +165,6 @@ class Future { ...@@ -165,10 +165,6 @@ class Future {
value(), which may rethrow if this has captured an exception. If func value(), which may rethrow if this has captured an exception. If func
throws, the exception will be captured in the Future that is returned. throws, the exception will be captured in the Future that is returned.
*/ */
/* TODO n3428 and other async frameworks have something like then(scheduler,
Future), we might want to support a similar API which could be
implemented a little more efficiently than
f.via(executor).then(callback) */
template <typename F, typename R = detail::callableResult<T, F>> template <typename F, typename R = detail::callableResult<T, F>>
typename R::Return then(F func) { typename R::Return then(F func) {
typedef typename R::Arg Arguments; typedef typename R::Arg Arguments;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment