Template Struct if_c< false, T1, T2 >

Struct Documentation

template<typename T1, typename T2>
struct if_c<false, T1, T2>

Specialisation of the metaprogrammed ‘if’ statement when false.

This defines the negative (false) response for the compile time metafunctional version of the ‘if’ function.

See also

if_c<Condition,T1,T2>.

Template Parameters:
  • T1 – : the return type if true.

  • T2 – : the return type if false.

Public Types

typedef T2 type