Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::gen::filter_t< Pred > Class Template Reference

过滤适配器(用于管道操作符)。 More...

#include <gen.h>

Public Member Functions

 filter_t (Pred p)

Private Attributes

Pred pred

Friends

template<class Gen>
Filter< Gen, Pred > operator| (Gen g, filter_t f)

Detailed Description

template<class Pred>
class console::gen::filter_t< Pred >

过滤适配器(用于管道操作符)。

Template Parameters
Pred谓词函数类型。

Constructor & Destructor Documentation

◆ filter_t()

template<class Pred>
console::gen::filter_t< Pred >::filter_t ( Pred p)
inlineexplicit

◆ operator|

template<class Pred>
template<class Gen>
Filter< Gen, Pred > operator| ( Gen g,
filter_t< Pred > f )
friend

Member Data Documentation

◆ pred

template<class Pred>
Pred console::gen::filter_t< Pred >::pred
private

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