man Arithmetic_functors (Fonctions bibliothèques) -

NAME

Arithmetic Classes -

Classes

struct std::plus< Type >

One of the math functors. struct std::minus< Type >

One of the math functors. struct std::multiplies< Type >

One of the math functors. struct std::divides< Type >

One of the math functors. struct std::modulus< Type >

One of the math functors. struct std::negate< Type >

One of the math functors.

Detailed Description

Because basic math often needs to be done during an algorithm, the library provides functors for those operations. See the documentation for the base classes for examples of their use.