MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
functor.hpp 文件参考

MSTL仿函数 更多...

functor.hpp 的引用(Include)关系图:

浏览该文件的源代码.

struct  unary_function< Arg, Result >
 一元函数适配器基类 更多...
struct  binary_function< Arg1, Arg2, Result >
 二元函数适配器基类 更多...
struct  plus< T >
 加法运算仿函数 更多...
struct  plus< void >
 plus的void特化,支持透明操作 更多...
struct  minus< T >
 减法运算仿函数 更多...
struct  minus< void >
 minus的void特化,支持透明操作 更多...
struct  multiplies< T >
 乘法运算仿函数 更多...
struct  multiplies< void >
 multiplies的void特化,支持透明操作 更多...
struct  divides< T >
 除法运算仿函数 更多...
struct  divides< void >
 divides的void特化,支持透明操作 更多...
struct  modulus< T >
 取模运算仿函数 更多...
struct  modulus< void >
 modulus的void特化,支持透明操作 更多...
struct  negate< T >
 取负运算仿函数 更多...
struct  negate< void >
 negate的void特化,支持透明操作 更多...
struct  equal_to< T >
 相等比较仿函数 更多...
struct  equal_to< void >
 equal_to的void特化,支持透明操作 更多...
struct  not_equal_to< T >
 不等比较仿函数 更多...
struct  not_equal_to< void >
 not_equal_to的void特化,支持透明操作 更多...
struct  greater< T >
 大于比较仿函数 更多...
struct  greater< void >
 greater的void特化,支持透明操作 更多...
struct  less< T >
 小于比较仿函数 更多...
struct  less< void >
 less的void特化,支持透明操作 更多...
struct  greater_equal< T >
 大于等于比较仿函数 更多...
struct  greater_equal< void >
 greater_equal的void特化,支持透明操作 更多...
struct  less_equal< T >
 小于等于比较仿函数 更多...
struct  less_equal< void >
 less_equal的void特化,支持透明操作 更多...
struct  identity< T >
 恒等仿函数 更多...
struct  select1st< Pair >
 选择pair的第一个元素 更多...
struct  select2nd< Pair >
 选择pair的第二个元素 更多...

详细描述

MSTL仿函数

此文件提供了各种仿函数的实现,包括算术运算、比较运算、选择运算等。

在文件 functor.hpp 中定义.