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

取前若干个元素适配器(用于管道操作符)。 More...

#include <gen.h>

Public Member Functions

 take_while_t (Pred p)

Private Attributes

Pred pred

Friends

template<class Gen>
TakeWhile< Gen, Pred > operator| (Gen g, take_while_t tw)

Detailed Description

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

取前若干个元素适配器(用于管道操作符)。

Constructor & Destructor Documentation

◆ take_while_t()

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

◆ operator|

template<class Pred>
template<class Gen>
TakeWhile< Gen, Pred > operator| ( Gen g,
take_while_t< Pred > tw )
friend

Member Data Documentation

◆ pred

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

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