boost::asio::deferred_conditional

Used to represent a deferred conditional branch.

Synopsis

Declared in <boost/asio/deferred.hpp>

template<
    typename OnTrue = deferred_noop,
    typename OnFalse = deferred_noop>
class deferred_conditional;

Member Functions

Name

Description

deferred_conditional [constructor]

Construct a deferred conditional with the value to determine which branch will be executed.

operator()

Invoke the conditional branch bsaed on the stored value.

otherwise

Set the false branch of the conditional.

then

Set the true branch of the conditional.

Friends

Name

Description

boost::asio::deferred_conditional

Used to represent a deferred conditional branch.

Created with MrDocs