|
Console Library 8.0.0
A header-only library that makes C++ simple
|
函数组合器,将两个函数组合为一个函数。 More...
#include <gen.h>
Public Member Functions | |
| template<class T> | |
| auto | operator() (T x) const -> decltype(g(f(x))) |
| 对输入值应用两个函数的组合。 | |
Public Attributes | |
| F | f |
| G | g |
函数组合器,将两个函数组合为一个函数。
| F | 第一个函数类型。 |
| G | 第二个函数类型。 |
|
inline |
| F console::ops::Compose< F, G >::f |
| G console::ops::Compose< F, G >::g |