13 #ifndef TINYMPL_VARIADIC_ALL_OF_HPP
14 #define TINYMPL_VARIADIC_ALL_OF_HPP
16 #include <type_traits>
31 template<
template<
class ... T>
class F, class ... Args> struct
all_of;
33 template<
template<
class ... T>
class F, class Head, class ... Args>
34 struct
all_of<F, Head, Args...> :
37 typename all_of<F, Args...>::type,
38 std::integral_constant<bool, false> >::type
41 template<
template<
class ... T>
class F> struct
all_of<F> :
42 std::integral_constant<bool, true>
48 #endif // TINYMPL_VARIADIC_ALL_OF_HPP
Determines whether every element in the sequence satisfies the given predicate.
Definition: all_of.hpp:31