Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
std::greater_equal< void > Class Reference

Function object that can be invoked for greater than or equal to comparisons, specialized for type deduction. More...

Public Types

using first_argument_type
 Type of the first value to compare.
 
using is_transparent = void
 Denotes that this is a transparent function object type.
 
using result_type
 Result type of invoking this object.
 
using second_argument_type
 Type of the second value to compare.
 

Public Member Functions

template<class T, class U>
constexpr auto operator() (T &&lhs, U &&rhs) const noexcept(noexcept(std::forward< T >(lhs) >=std::forward< U >(rhs))) ->
 Returns if the first value is greater than or equal to the second.
 
constexpr auto operator() (void const &lhs, void const &rhs) const noexcept(noexcept(lhs >=rhs)) -> bool
 Returns if the first value is greater than or equal to the second.
 

Detailed Description

Function object that can be invoked for greater than or equal to comparisons, specialized for type deduction.

Member Typedef Documentation

◆ first_argument_type

using std::greater_equal< void >::first_argument_type

Type of the first value to compare.

◆ is_transparent

using std::greater_equal< void >::is_transparent = void

Denotes that this is a transparent function object type.

◆ result_type

using std::greater_equal< void >::result_type

Result type of invoking this object.

◆ second_argument_type

using std::greater_equal< void >::second_argument_type

Type of the second value to compare.

Member Function Documentation

◆ operator()() [1/2]

template<class T, class U>
auto std::greater_equal< void >::operator() ( T && lhs,
U && rhs ) const ->
inlineconstexprnoexcept

Returns if the first value is greater than or equal to the second.

Template Parameters
TThe first type
UThe second type
Parameters
lhsThe first value to compare
rhsThe second value to compare
Returns
Returns the boolean result of invoking operator>= on lhs and rhs

◆ operator()() [2/2]

auto std::greater_equal< void >::operator() ( void const & lhs,
void const & rhs ) const-> bool
inlineconstexprnoexcept

Returns if the first value is greater than or equal to the second.

Parameters
lhsThe first value to compare
rhsThe second value to compare
Returns
Returns the boolean result of invoking operator>= on lhs and rhs

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