libstdc++
Arithmetic Classes
Collaboration diagram for Arithmetic Classes:

Classes

struct  std::divides< _Tp >
 
struct  std::divides< void >
 
struct  std::minus< _Tp >
 
struct  std::minus< void >
 
struct  std::modulus< _Tp >
 
struct  std::modulus< void >
 
struct  std::multiplies< _Tp >
 
struct  std::multiplies< void >
 
struct  std::negate< _Tp >
 
struct  std::negate< void >
 
struct  std::plus< _Tp >
 

Macros

#define __cpp_lib_transparent_operators
 

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.