STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
__gnu_parallel::_Less< _T1, _T2 > Struct Template Reference

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

#include <parallel/base.h>

Inheritance diagram for __gnu_parallel::_Less< _T1, _T2 >:

Public Member Functions

bool operator() (const _T1 &__t1, const _T2 &__t2) const
 
bool operator() (const _T2 &__t2, const _T1 &__t1) const
 

Detailed Description

template<typename _T1, typename _T2>
struct __gnu_parallel::_Less< _T1, _T2 >

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

Member Function Documentation

template<typename _T1 , typename _T2 >
bool __gnu_parallel::_Less< _T1, _T2 >::operator() ( const _T1 &  __t1,
const _T2 &  __t2 
) const
inline
256  { return __t1 < __t2; }
template<typename _T1 , typename _T2 >
bool __gnu_parallel::_Less< _T1, _T2 >::operator() ( const _T2 &  __t2,
const _T1 &  __t1 
) const
inline
260  { return __t2 < __t1; }

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