Turi Create  4.0
turi::conditional_test< bool, Cond, Args > Struct Template Reference

#include <core/data/flexible_type/type_traits.hpp>

Detailed Description

template<bool, template< typename... > class Cond, typename... Args>
struct turi::conditional_test< bool, Cond, Args >

Conditional test – the use case here is that the test is not even instantiated if the condition fails. This has been useful to eliminate certain recursions.

Use: conditional_test<bool c, Cond, Args...>::value. If c is true, then Cond<Args...> is instantiated and the value is equal to Cond<Args...>::value. If c is false, the value is false.

Definition at line 206 of file type_traits.hpp.


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