std::divides
cppreference.com
<tbody>
</tbody>
<tbody class="t-dcl-rev ">
</tbody><tbody>
</tbody>
template< class T > struct divides; |
( C++14) | |
template< class T = void > struct divides; |
( C++14) | |
. operator/ T.
|
|
( C++14) |
result_type ( C++17)( C++20)
|
T
|
first_argument_type ( C++17)( C++20)
|
T
|
second_argument_type ( C++17)( C++20)
|
T
|
|
|
( C++11) |
-
operator() |
(public -) |
std::divides::operator()
<tbody> </tbody> <tbody class="t-dcl-rev "> </tbody><tbody> </tbody> T operator()( const T& lhs, const T& rhs ) const; |
( C++14) | |
constexpr T operator()( const T& lhs, const T& rhs ) const; |
( C++14) | |
lhs rhs.
| lhs, rhs |
lhs / rhs.
, .
constexpr T operator()(const T &lhs, const T &rhs) const
{
return lhs / rhs;
}
|