asio C++ library

PrevUpHomeNext

package

Wrap a function object in a packaged task.

template<
    typename Function>
packaged_token< typename decay< Function >::type, std::allocator< void > > package(
    Function && function);
  » more...

template<
    typename Function,
    typename Allocator>
packaged_token< typename decay< Function >::type, Allocator > package(
    Function && function,
    const Allocator & a);
  » more...
Requirements

Header: asio/package.hpp

Convenience header: None


PrevUpHomeNext