Class select

Synopsis

#include "breeze/meta/select.hpp"

template< typename Cond, typename T, typename U >
class select

Description

Compile-time selection between types.

Source

Lines 61-69 in breeze/meta/select.hpp.

template< typename Cond, typename T, typename U >
class select
{
public:
    //!     The result of the metafunction.
    // -----------------------------------------------------------------------
    typedef typename select_< Cond::value, T, U >::type
                        type ;
} ;