Classes | Typedefs | Variables
tmpl2 Namespace Reference

Metaprogramming things that are not planned to be submitted to Brigand. More...

Classes

struct  value_list
 A compile-time list of values of the same type. More...
 

Typedefs

template<bool... Bs>
using flat_all = std::is_same< value_list< bool, Bs... >, value_list< bool,(static_cast< void >(Bs), true)... > >
 A non-short-circuiting logical AND between bools 'B"". More...
 
template<bool... Bs>
using flat_any = std::integral_constant< bool, not std::is_same< value_list< bool, Bs... >, value_list< bool,(static_cast< void >(Bs), false)... > >::value >
 A non-short-circuiting logical OR between bools 'B"". More...
 

Variables

template<bool... Bs>
constexpr bool flat_all_v = flat_all<Bs...>::value
 A non-short-circuiting logical AND between bools 'B"". More...
 
template<bool... Bs>
constexpr bool flat_any_v = flat_any<Bs...>::value
 A non-short-circuiting logical OR between bools 'B"". More...
 

Detailed Description

Metaprogramming things that are not planned to be submitted to Brigand.