GNU g++  v5.2.1
GNU Standard C++
__gnu_parallel::_Plus< _Tp1, _Tp2, _Result > Struct Template Reference

Similar to std::plus, but allows two different types. More...

#include <base.h>

Inheritance diagram for __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >:
Collaboration diagram for __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >:

Public Member Functions

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

Detailed Description

template<typename _Tp1, typename _Tp2, typename _Result = __typeof__(*static_cast<_Tp1*>(0) + *static_cast<_Tp2*>(0))>
struct __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >

Similar to std::plus, but allows two different types.

Member Function Documentation

template<typename _Tp1 , typename _Tp2 , typename _Result = __typeof__(*static_cast<_Tp1*>(0) + *static_cast<_Tp2*>(0))>
_Result __gnu_parallel::_Plus< _Tp1, _Tp2, _Result >::operator() ( const _Tp1 &  __x,
const _Tp2 &  __y 
) const
inline

The documentation for this struct was generated from the following file: