asio C++ library

PrevUpHomeNext

experimental::deferred_t::operator()

Creates a new deferred from a function.

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

Passes through anything that is already deferred.

template<
    typename T>
constraint< is_deferred< typename decay< T >::type >::value, typename decay< T >::type >::type operator()(
    T && t) const;
  » more...

PrevUpHomeNext