__gnu_parallel::_Multiplies.3cxx
Contents
Detailed Description
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.
Member Typedef Documentation
template<typename_Arg1,typename_Arg2,typename_Result>typedef_Arg1std::binary_function<_Arg1,_Arg2,_Result>::first_argument_type[inherited]
first_argument_type is the type of the first argument
template<typename_Arg1,typename_Arg2,typename_Result>typedef_Resultstd::binary_function<_Arg1,_Arg2,_Result>::result_type[inherited]
result_type is the return type
template<typename_Arg1,typename_Arg2,typename_Result>typedef_Arg2std::binary_function<_Arg1,_Arg2,_Result>::second_argument_type[inherited]
second_argument_type is the type of the second argument
Name
__gnu_parallel::_Multiplies< _Tp1, _Tp2, _Result > - Similar to std::multiplies, but allows two different
types.
Synopsis
#include <base.h>
Inherits std::binary_function<_Arg1,_Arg2,_Result>.
PublicTypes
typedef _Arg1 first_argument_type
first_argument_type is the type of the first argument
typedef _Result result_type
result_type is the return type
typedef _Arg2 second_argument_type
second_argument_type is the type of the second argument
PublicMemberFunctions
_Result operator() (const _Tp1 &__x, const _Tp2 &__y) const
