Console Library 8.0.0
A header-only library that makes C++ simple
Loading...
Searching...
No Matches
console::gen::take_t Class Reference

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

#include <gen.h>

Public Member Functions

 take_t (size_t n)

Private Attributes

size_t count

Friends

template<class Gen>
Take< Gen > operator| (Gen g, take_t t)

Detailed Description

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

Constructor & Destructor Documentation

◆ take_t()

console::gen::take_t::take_t ( size_t n)
inlineexplicit

◆ operator|

template<class Gen>
Take< Gen > operator| ( Gen g,
take_t t )
friend

Member Data Documentation

◆ count

size_t console::gen::take_t::count
private

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