DOKK / manpages / debian 11 / libstdc++-9-doc / std::greater.3cxx.en
std::greater< _Tp >(3cxx) std::greater< _Tp >(3cxx)

std::greater< _Tp > - One of the comparison functors.

Inherits std::binary_function< _Tp, _Tp, bool >.


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


_GLIBCXX14_CONSTEXPR bool operator() (const _Tp &__x, const _Tp &__y) const

struct std::greater< _Tp >" One of the comparison functors.

Definition at line 371 of file stl_function.h.

typedef _Tp std::binary_function< _Tp , _Tp , bool >::first_argument_type [inherited]

first_argument_type is the type of the first argument

Definition at line 121 of file stl_function.h.

result_type is the return type

Definition at line 127 of file stl_function.h.

typedef _Tp std::binary_function< _Tp , _Tp , bool >::second_argument_type [inherited]

second_argument_type is the type of the second argument

Definition at line 124 of file stl_function.h.

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

Sun Feb 7 2021 libstdc++