...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Used to represent a deferred conditional branch.
template< typename OnTrue = deferred_noop, typename OnFalse = deferred_noop> class deferred_conditional
Name |
Description |
---|---|
deferred_conditional [constructor] |
Construct a deferred conditional with the value to determine which branch will be executed. |
Invoke the conditional branch bsaed on the stored alue. |
|
Set the false branch of the conditional. |
|
Set the true branch of the conditional. |
Header: boost/asio/experimental/deferred.hpp
Convenience header: None