Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

make_strand (1 of 2 overloads)

Create a strand object for an executor.

template<
    typename Executor>
strand< Executor > make_strand(
    const Executor & ex,
    typename constraint< is_executor< Executor >::value||execution::is_executor< Executor >::value >::type  = 0);
Parameters

ex

An executor.

Return Value

A strand constructed with the specified executor.


PrevUpHomeNext