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

PrevUpHomeNext

deferred_conditional::then

Set the true branch of the conditional.

template<
    typename T>
deferred_conditional< T, OnFalse > then(
    T on_true,
    constraint_t< is_deferred< T >::value > *  = 0,
    constraint_t< is_same< conditional_t< true, OnTrue, T >, deferred_noop >::value > *  = 0);

PrevUpHomeNext