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
Predicateboolean metafunction, i.e. Predicate<T>::value is a compile-time boolean
Defaultthe metafunction result for the case of empty Ts...
Tsa type pack

Definition at line 129 of file meta.h.


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