C++ Essence Library 0.1.0
A Utility Library for Modern C++ Programming
Loading...
Searching...
No Matches
essence::filter_tuple< GetTuple, Predicate > Struct Template Reference

Filters a tuple given a predicate. More...

#include <tuple.hpp>

Static Public Member Functions

template<std::size_t I>
static consteval auto do_single () noexcept
 
static consteval auto do_filter () noexcept
 

Static Public Attributes

static constexpr auto tuple = GetTuple()
 
static constexpr auto value = do_filter()
 

Detailed Description

template<auto GetTuple, auto Predicate>
struct essence::filter_tuple< GetTuple, Predicate >

Filters a tuple given a predicate.

Template Parameters
GetTupleA constant callable to return the tuple.
PredicateThe predicate.

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