DOKK / manpages / debian 12 / libstdc++-11-doc / __gnu_parallel::_Less.3cxx.en
__gnu_parallel::_Less< _T1, _T2 >(3cxx) __gnu_parallel::_Less< _T1, _T2 >(3cxx)

__gnu_parallel::_Less< _T1, _T2 > - Similar to std::less, but allows two different types.

#include <base.h>

Inherits std::binary_function< _T1, _T2, bool >.


typedef _T1 first_argument_type
first_argument_type is the type of the first argument typedef bool result_type
result_type is the return type typedef _T2 second_argument_type
second_argument_type is the type of the second argument


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

struct __gnu_parallel::_Less< _T1, _T2 >"Similar to std::less, but allows two different types.

Definition at line 252 of file base.h.

first_argument_type is the type of the first argument

Definition at line 134 of file stl_function.h.

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.

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.

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.

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

Thu Feb 16 2023 libstdc++