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

枚举生成器,为每个元素附加索引。 More...

#include <gen.h>

Public Member Functions

 enumerate_t ()=default
template<class Gen>
Enumerate< Gen > operator() (Gen g)

Friends

template<class Gen>
Enumerate< Gen > operator| (Gen g, enumerate_t)

Detailed Description

枚举生成器,为每个元素附加索引。

Constructor & Destructor Documentation

◆ enumerate_t()

console::gen::enumerate_t::enumerate_t ( )
explicitdefault

Member Function Documentation

◆ operator()()

template<class Gen>
Enumerate< Gen > console::gen::enumerate_t::operator() ( Gen g)
inline

◆ operator|

template<class Gen>
Enumerate< Gen > operator| ( Gen g,
enumerate_t  )
friend

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