Nano
A C++ template metaprogramming library
nano::filter< Evaluator, List1, List2, Passed > Struct Template Reference

Takes a list and an evaluation function, which itself takes the list and a parameter to evaluate if each element of the list must be filtered. More...

#include <higher_order_functions.hpp>

Detailed Description

template<template< typename...> class Evaluator, typename List1, typename List2, typename Passed>
struct nano::filter< Evaluator, List1, List2, Passed >

Takes a list and an evaluation function, which itself takes the list and a parameter to evaluate if each element of the list must be filtered.

Template Parameters
EvaluatorThe function that determines if an element is filtered or not
List1The list to filter
Parameters
List2The list to use for filtering (to help Evaluator)
Template Parameters
PassedThe elements that have passed the Evaluator

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