Functor can be thought of as a unary predicate with a single argument: it internally evaluates the wrapped binary predicate with two copies of the same argument.

 
  • 仿函数可以认为是一个带有一个参数的一元谓词:它在内部用同一个参数的两个副本计算包装的二元谓词。
今日热词
目录 附录 查词历史