tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
greater< T > Struct Template Reference

Function object for performing comparisons. Unless specialised, invokes operator> on type T. https://en.cppreference.com/w/cpp/utility/functional/greater. More...

#include <greater.hpp>

Public Member Functions

constexpr auto operator() (T const &lhs, T const &rhs) const -> bool
 

Detailed Description

template<typename T = void>
struct etl::greater< T >

Function object for performing comparisons. Unless specialised, invokes operator> on type T. https://en.cppreference.com/w/cpp/utility/functional/greater.

Member Function Documentation

◆ operator()()

template<typename T = void>
auto operator() ( T const & lhs,
T const & rhs ) const -> bool
inlinenodiscardconstexpr

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