Class select_
Synopsis
#include "breeze/meta/select.hpp"
template< bool condition, typename T, typename U >
class select_
Description
Like select
, but with the condition represented as a bool
value, not a type.
Source
Lines 28-40 in breeze/meta/select.hpp.
template< bool condition, typename T, typename U >
class select_
{
public:
//! A typedef for the type \c T.
// -----------------------------------------------------------------------
typedef T type ;
//! A typedef for <code>select_< ! condition, T, U ></code>.
// -----------------------------------------------------------------------
typedef select_< ! condition, T, U >
opposite ;
} ;