std::modulus
Min standard notice:
Header: <functional>
Function object for computing remainders of divisions. Implements operator% for type T.
# Declarations
template< class T >
struct modulus;
(until C++14)
template< class T = void >
struct modulus;
(since C++14)
# Parameters
lhs, rhs: values to divide one by another
# Return value
The result of lhs % rhs.