std::modulus - Man Page

One of the math functors.

Synopsis

#include <functional>

Inherits std::binary_function< _Tp, _Tp, _Tp >.

Public Types

typedef _Tp first_argument_type
first_argument_type is the type of the first argument
typedef _Tp result_type
result_type is the return type
typedef _Tp second_argument_type
second_argument_type is the type of the second argument

Public Member Functions

constexpr _Tp operator() (const _Tp &__x, const _Tp &__y) const

Detailed Description

template<typename _Tp>

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

Member Typedef Documentation

_Tp std::binary_function< _Tp, _Tp, _Tp >::first_argument_type [inherited]

first_argument_type is the type of the first argument

_Tp std::binary_function< _Tp, _Tp, _Tp >::result_type [inherited]

result_type is the return type

_Tp std::binary_function< _Tp, _Tp, _Tp >::second_argument_type [inherited]

second_argument_type is the type of the second argument

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

libstdc++