blaze::IfTrue< Condition, T1, T2 > Struct Template Reference

Compile time type selection.The IfTrue class template selects one of the two given types T1 and T2 depending on the Condition template argument. In case the Condition compile time constant expression evaluates to true, the member type definition Type is set to T1. In case Condition evaluates to false, Type is set to T2. More...

#include <If.h>

Detailed Description

template<bool Condition, typename T1, typename T2>
struct blaze::IfTrue< Condition, T1, T2 >

Compile time type selection.

The IfTrue class template selects one of the two given types T1 and T2 depending on the Condition template argument. In case the Condition compile time constant expression evaluates to true, the member type definition Type is set to T1. In case Condition evaluates to false, Type is set to T2.


The documentation for this struct was generated from the following file: