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 a snapshot of the develop branch, built from commit a807003f81.
PrevUpHomeNext

deferred_conditional::otherwise

Set the false branch of the conditional.

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

PrevUpHomeNext