ttg::meta::probe_last< Predicate, Default, Ts > Struct Template Reference

Documentation

template<template< typename > typename Predicate, bool Default, typename... Ts>
struct ttg::meta::probe_last< Predicate, Default, Ts >

This metafunction applies Predicate is true when applied to the last 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 96 of file meta.h.


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