libstdc++
__gnu_parallel::_Less< _T1, _T2 > Struct Template Reference

#include <base.h>

Inheritance diagram for __gnu_parallel::_Less< _T1, _T2 >:
[legend]

Public Types

typedef _T1 first_argument_type
 
typedef bool result_type
 
typedef _T2 second_argument_type
 

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.

Definition at line 252 of file base.h.

Member Typedef Documentation

◆ first_argument_type

typedef _T1 std::binary_function< _T1 , _T2 , bool >::first_argument_type
inherited

first_argument_type is the type of the first argument

Definition at line 134 of file stl_function.h.

◆ result_type

typedef bool std::binary_function< _T1 , _T2 , bool >::result_type
inherited

result_type is the return type

Definition at line 140 of file stl_function.h.

◆ second_argument_type

typedef _T2 std::binary_function< _T1 , _T2 , bool >::second_argument_type
inherited

second_argument_type is the type of the second argument

Definition at line 137 of file stl_function.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename _T1 , typename _T2 >
bool __gnu_parallel::_Less< _T1, _T2 >::operator() ( const _T1 &  __t1,
const _T2 &  __t2 
) const
inline

Definition at line 255 of file base.h.

◆ operator()() [2/2]

template<typename _T1 , typename _T2 >
bool __gnu_parallel::_Less< _T1, _T2 >::operator() ( const _T2 &  __t2,
const _T1 &  __t1 
) const
inline

Definition at line 259 of file base.h.


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