logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

                                                    libstdc++                          std::modulus<_Tp>(3cxx)

Detailed Description

template<typename_Tp>
       struct std::modulus< _Tp >"One of the mathfunctors.

Member Typedef Documentation

typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::first_argument_type[inherited]
       first_argument_type is the type of the first argument

   typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::result_type[inherited]
       result_type is the return type

   typedef_Tpstd::binary_function<_Tp,_Tp,_Tp>::second_argument_type[inherited]
       second_argument_type is the type of the second argument

Name

       std::modulus< _Tp > - One of the mathfunctors.

Synopsis

       #include <functional>

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

   PublicTypestypedef _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

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

See Also