All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gears::meta::All< Args > Struct Template Reference

Logical And meta function. More...

Inherits Bool< true >.

Detailed Description

template<typename... Args>
struct gears::meta::All< Args >

The equivalent of operator&& for bools except for meta functions. Evaluates it based on the argument's value. Returns std::true_type or std::false_type.

// fails the static_assert
static_assert(meta::All<std::is_integral<int>, std::is_const<float>, std::is_function<int>>::value, "...");
Template Parameters
ArgsMeta functions to use logical and on.

Definition at line 191 of file meta/meta.hpp.