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

映射适配器(用于管道操作符)。 More...

#include <gen.h>

Public Member Functions

 map_t (Func f)

Private Attributes

Func func

Friends

template<class Gen>
Map< Gen, Func > operator| (Gen g, map_t m)

Detailed Description

template<class Func>
class console::gen::map_t< Func >

映射适配器(用于管道操作符)。

Template Parameters
Func映射函数类型。

Constructor & Destructor Documentation

◆ map_t()

template<class Func>
console::gen::map_t< Func >::map_t ( Func f)
inlineexplicit

◆ operator|

template<class Func>
template<class Gen>
Map< Gen, Func > operator| ( Gen g,
map_t< Func > m )
friend

Member Data Documentation

◆ func

template<class Func>
Func console::gen::map_t< Func >::func
private

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