4 Sep
2015
4 Sep
'15
8:18 p.m.
On 9/4/2015 5:04 PM, Oliver Kowalke wrote:
2015-09-04 21:35 GMT+02:00 Agustín K-ballo Bergé
: Here is the standard definition of `future::wait_until`:
template
future_status wait_until(chrono::time_point const& abs_time) const; Note how it takes *any* time point, and automatically deduces template arguments.
I use this pattern in the other classes too (for instance condition::wait_until())
Is there anything particular about `future` and `shared_future` that prevents you from doing it correctly for them too? Regards, -- Agustín K-ballo Bergé.- http://talesofcpp.fusionfenix.com