DOKK / manpages / debian 12 / libstdc++-11-doc / std::modulus.3cxx.en
std::modulus< _Tp >(3cxx) std::modulus< _Tp >(3cxx)

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

#include <stl_function.h>

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


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


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

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

Definition at line 221 of file stl_function.h.

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

first_argument_type is the type of the first argument

Definition at line 134 of file stl_function.h.

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

result_type is the return type

Definition at line 140 of file stl_function.h.

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

second_argument_type is the type of the second argument

Definition at line 137 of file stl_function.h.

Definition at line 225 of file stl_function.h.

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

Thu Feb 16 2023 libstdc++