Skip to content

futures::greater

Defined in header <futures/algorithm/compare/greater.hpp>

struct greater;

A C++17 functor equivalent to the C++20 std::ranges::greater.

See Also: std::greater

Public Types

Member Types Definition
is_transparent void
(using)

Public Functions

Member Functions Description
operator() const (function template)

Public Types

using is_transparent

Defined in header <futures/algorithm/compare/greater.hpp>

using is_transparent = void;

Public Functions

function operator()

Defined in header <futures/algorithm/compare/greater.hpp>

template <class T, class U>
constexpr bool
operator()(T && t, U && u) const;

Exception Safety

Basic exception guarantee.


Updated on 2023-01-04