ECSTASY
All in the name
Loading...
Searching...
No Matches
util::meta::filter< Filter, Ts > Struct Template Reference

Filter the types in Ts keeping only those for which Filter<T>::value was true. More...

#include <filter.hpp>

Public Types

using type = typename _filter< Traits<>, Filter, Ts... >::type
 

Detailed Description

template<template< typename > typename Filter, typename... Ts>
struct util::meta::filter< Filter, Ts >

Filter the types in Ts keeping only those for which Filter<T>::value was true.

Note
Resulting type is a util::meta::Traits containing the types from Untreated for which Filter<T>::value was true.
Template Parameters
FilterFilter type, must contains a boolean value element (as in std::true_type and std::false_type).
TsTypes to filter
Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-12-16)

Definition at line 68 of file filter.hpp.

Member Typedef Documentation

◆ type

template<template< typename > typename Filter, typename... Ts>
using util::meta::filter< Filter, Ts >::type = typename _filter<Traits<>, Filter, Ts...>::type

Definition at line 69 of file filter.hpp.


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