asio C++ library

PrevUpHomeNext

deferred_t::operator()

Creates a new deferred from a function.

template<
    typename Function>
constraint_t< !is_deferred< decay_t< Function > >::value, deferred_function< decay_t< Function > > > operator()(
    Function && function) const;
  » more...

Passes through anything that is already deferred.

template<
    typename T>
constraint_t< is_deferred< decay_t< T > >::value, decay_t< T > > operator()(
    T && t) const;
  » more...

PrevUpHomeNext