ttg::meta::probe_first< Predicate, Default, Ts > Struct Template Reference
Documentation
template<template< typename > typename Predicate, bool Default, typename... Ts>
struct ttg::meta::probe_first< Predicate, Default, Ts >
This metafunction checks if Predicate
is true when applied to the first element of Ts...
, if not empty, else evaluates to Default
- Template Parameters
-
Predicate boolean metafunction, i.e. Predicate<T>::value
is a compile-time booleanDefault the metafunction result for the case of empty Ts...
Ts a type pack
The documentation for this struct was generated from the following file:
- ttg/ttg/util/meta.h