DOKK / manpages / debian 12 / libstdc++-11-doc / __gnu_parallel::_Multiplies.3cxx.en
__gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >(3cxx) __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >(3cxx)

__gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result > - Similar to std::multiplies, but allows two different types.

#include <base.h>

Inherits std::binary_function< _Tp1, _Tp2, __typeof__(*static_cast< _Tp1 * >(0) **static_cast< _Tp2 * >(0)) >.


typedef _Tp1 first_argument_type
first_argument_type is the type of the first argument typedef __typeof__(*< * >0_Tp1 **static_cast< _Tp2 * >(0) result_type
result_type is the return type typedef _Tp2 second_argument_type
second_argument_type is the type of the second argument


_Result operator() (const _Tp1 &__x, const _Tp2 &__y) const

_(0)">">template<typename _Tp1, typename _Tp2, typename _Result = __typeof__(*static_cast<_Tp1*>(0) * *static_cast<_Tp2*>(0))>

struct __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >"Similar to std::multiplies, but allows two different types.

Definition at line 288 of file base.h.

first_argument_type is the type of the first argument

Definition at line 134 of file stl_function.h.

__(0)__">__">typedef __typeof__(*< * >0_Tp1 **static_cast< _Tp2 * >(0) std::binary_function< _Tp1 , _Tp2 , __typeof__(*< * >0_Tp1 **static_cast< _Tp2 * >(0) >::result_type [inherited]

result_type is the return type

Definition at line 140 of file stl_function.h.

second_argument_type is the type of the second argument

Definition at line 137 of file stl_function.h.

_(0)">">template<typename _Tp1 , typename _Tp2 , typename _Result = __typeof__(*static_cast<_Tp1*>(0) * *static_cast<_Tp2*>(0))> _Result __gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result >::operator() (const _Tp1 & __x, const _Tp2 & __y) const [inline]

Definition at line 291 of file base.h.

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

Thu Feb 16 2023 libstdc++