...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Provides serialised function invocation for any executor type.
template< typename Executor> class strand
Name |
Description |
---|---|
The type of the underlying executor. |
Name |
Description |
---|---|
Obtain the underlying execution context. |
|
Request the strand to invoke the given function object. |
|
Request the strand to invoke the given function object. |
|
Obtain the underlying executor. |
|
Inform the strand that some work is no longer outstanding. |
|
Inform the strand that it has some outstanding work to do. |
|
Assignment operator. Converting assignment operator. Move assignment operator. Converting move assignment operator. |
|
Request the strand to invoke the given function object. |
|
Determine whether the strand is running in the current thread. |
|
Default constructor. Construct a strand for the specified executor. Copy constructor. Converting constructor. Move constructor. Converting move constructor. |
|
Destructor. |
Name |
Description |
---|---|
Compare two strands for inequality. |
|
Compare two strands for equality. |
Header: boost/asio/strand.hpp
Convenience header: boost/asio.hpp