![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Function object that can be invoked for less than 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, arene::base::constraints< enable_if_t<(is_pointer_v< decay_t< T > > &&is_same_v< decay_t< U >, nullptr_t >)>> | |
| constexpr auto | operator() (T &&, U &&) const noexcept -> bool |
| Returns if the first value is less than the second. | |
| template<class T, class U, arene::base::constraints< enable_if_t<(is_pointer_v< decay_t< U > > &&is_same_v< decay_t< T >, nullptr_t >)>> | |
| constexpr auto | operator() (T &&, U &&rhs) const noexcept -> bool |
| Returns if the first value is less than the second. | |
| template<class T, class U, arene::base::constraints< enable_if_t<!(is_pointer_v< decay_t< T > > &&is_same_v< decay_t< U >, nullptr_t >)>, enable_if_t<!(is_pointer_v< decay_t< U > > &&is_same_v< decay_t< T >, nullptr_t >)>> | |
| constexpr auto | operator() (T &&lhs, U &&rhs) const noexcept(noexcept(std::forward< T >(lhs)< std::forward< U >(rhs))) -> |
| Returns if the first value is less than the second. | |
| constexpr auto | operator() (void const &lhs, void const &rhs) const noexcept(noexcept(lhs< rhs)) -> bool |
| Returns if the first value is less than the second. | |
Function object that can be invoked for less than comparisons, specialized for type deduction.
| using std::less< void >::first_argument_type |
Type of the first value to compare.
| using std::less< void >::is_transparent = void |
Denotes that this is a transparent function object type.
| using std::less< void >::result_type |
Result type of invoking this object.
| using std::less< void >::second_argument_type |
Type of the second value to compare.
|
inlineconstexprnoexcept |
Returns if the first value is less than the second.
This overload checks if a pointer is less than nullptr which is always false
| T | The first type |
| U | The second type |
operator< on the supplied values
|
inlineconstexprnoexcept |
Returns if the first value is less than the second.
This overload checks if nullptr is less than a supplied pointer
| T | The first type |
| U | The second type |
| rhs | The pointer value to compare |
operator< on the supplied values
|
inlineconstexprnoexcept |
Returns if the first value is less than the second.
| T | The first type |
| U | The second type |
| lhs | The first value to compare |
| rhs | The second value to compare |
operator< on lhs and rhs
|
inlineconstexprnoexcept |
Returns if the first value is less than the second.
| lhs | The first value to compare |
| rhs | The second value to compare |
operator< on lhs and rhs