std::multiplies<void> (3) - Linux Manuals
std::multiplies<void>: std::multiplies<void>
Command to display std::multiplies<void>
manual in Linux: $ man 3 std::multiplies<void>
NAME
std::multiplies<void> - std::multiplies<void>
Synopsis
Defined in header <functional>
template<> (since C++14)
class multiplies<void>;
std::multiplies<> is a specialization of std::multiplies with parameter and return type deduced.
Member types
Member type Definition
is_transparent /* unspecified */
Member functions
returns the product of two arguments
operator() (public member function)
std::multiplies<>::operator()
template< class T, class U>
constexpr auto operator()( T&& lhs, U&& rhs ) const
-> decltype(std::forward<T>(lhs) * std::forward<U>(rhs));
Returns the result of multiplying lhs by rhs (or whatever operator* is overloaded to do)
Parameters
lhs, rhs - values to multiply
Return value
The result of lhs * rhs.
Notes
The member type is_transparent indicates to the caller that this function object is a transparent function object: it accepts arguments of arbitrary types and uses perfect forwarding, which avoids unnecessary copying and conversion when the function object is used in heterogeneous context, or with rvalue arguments. In particular, template functions such as std::set::find and std::set::lower_bound make use of this member type on their Compare types.
Example
This section is incomplete
Reason: no example
Pages related to std::multiplies<void>
- std::multiplies (3) - std::multiplies
- std::multimap (3) - std::multimap
- std::multimap<Key,T,Compare,Allocator>::begin, (3) - std::multimap<Key,T,Compare,Allocator>::begin,
- std::multimap<Key,T,Compare,Allocator>::begin,std::multimap<Key,T,Compare,Allocator>::cbegin (3) - std::multimap<Key,T,Compare,Allocator>::begin,std::multimap<Key,T,Compare,Allocator>::cbegin
- std::multimap<Key,T,Compare,Allocator>::clear (3) - std::multimap<Key,T,Compare,Allocator>::clear
- std::multimap<Key,T,Compare,Allocator>::contains (3) - std::multimap<Key,T,Compare,Allocator>::contains
- std::multimap<Key,T,Compare,Allocator>::count (3) - std::multimap<Key,T,Compare,Allocator>::count
- std::multimap<Key,T,Compare,Allocator>::emplace (3) - std::multimap<Key,T,Compare,Allocator>::emplace
- std::multimap<Key,T,Compare,Allocator>::emplace_hint (3) - std::multimap<Key,T,Compare,Allocator>::emplace_hint
- std::multimap<Key,T,Compare,Allocator>::empty (3) - std::multimap<Key,T,Compare,Allocator>::empty
- std::multimap<Key,T,Compare,Allocator>::end,std::multimap<Key,T,Compare,Allocator>::cend (3) - std::multimap<Key,T,Compare,Allocator>::end,std::multimap<Key,T,Compare,Allocator>::cend
- std::multimap<Key,T,Compare,Allocator>::equal_range (3) - std::multimap<Key,T,Compare,Allocator>::equal_range
- std::multimap<Key,T,Compare,Allocator>::erase (3) - std::multimap<Key,T,Compare,Allocator>::erase
- std::multimap<Key,T,Compare,Allocator>::extract (3) - std::multimap<Key,T,Compare,Allocator>::extract