DxLibEx
dxle::type_traits::first_enabled< Args > Struct Template Reference

multi-conditional if struct for TMP. This class is used in conjunction with std::enable_if. More...

#include <first_enabled.hpp>

Detailed Description

template<typename ... Args>
struct dxle::type_traits::first_enabled< Args >

multi-conditional if struct for TMP. This class is used in conjunction with std::enable_if.

template<typename T>
using bar = first_enabled_t<
std::enbale_if<cond1, type1>,
std::enbale_if<cond2, type2>,
std::enbale_if<cond3, type3>,
default_type
>;

Definition at line 32 of file first_enabled.hpp.


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