R-value qualify Future<T>::then and deprecate lvalue.
Summary: Overall plan to modify Future<T>::then to be r-value qualified and use Future<T>::thenTry or Future<T>::thenValue. The goal is to disambiguate folly::Future and to improve type and lifetime safety of Future and its methods. * Deprecate l-value qualified calls to Future<T>::then. * Make appropriate changes to folly to make this correct without local deprecation warnings. Reviewed By: yfeldblum Differential Revision: D9175807 fbshipit-source-id: 9dc9812270ca3fb800f3a56d3aef8ef3d1d209e6
Showing
Please register or sign in to comment