|
Console Library 8.0.0
A header-only library that makes C++ simple
|
创建一个算法适配器。 More...
#include <gextra.h>
Public Member Functions | |
| algorithm_t (F func, const Args &...args) | |
| 构造函数。 | |
Private Attributes | |
| F | func |
| Params< Args... > | params |
Friends | |
| template<class Gen> | |
| auto | operator| (Gen gen, algorithm_t alg) -> decltype(std::declval< F >()(gen.begin(), gen.end(), std::declval< Args >()...)) |
| 管道操作符。 | |
创建一个算法适配器。
| F | 函数类型。 |
| Args | 附加参数类型。 |
|
inline |
构造函数。
| func | 函数。 |
| args | 附加参数。 |
|
friend |
管道操作符。
| Gen | 生成器类型。 |
| gen | 生成器。 |
|
private |
|
private |