Function object that can be invoked for non-equality comparisons.
More...
|
| constexpr auto | operator() (T const &lhs, T const &rhs) const noexcept(noexcept(lhs !=rhs)) -> bool |
| | Returns if two values are non-equal.
|
| |
template<class T = void>
class std::not_equal_to< T >
Function object that can be invoked for non-equality comparisons.
- Template Parameters
-
- Note
- This class contains the member types
result_type, first_argument type, and second_argument type. These aliases have been deprecated in C++17 and removed in C++20.
◆ first_argument_type
Type of the first value to compare.
◆ result_type
Result type of invoking this object.
◆ second_argument_type
Type of the second value to compare.
◆ operator()()
template<class T = void>
| auto std::not_equal_to< T >::operator() |
( |
T const & | lhs, |
|
|
T const & | rhs ) const -> bool |
|
inlineconstexprnoexcept |
Returns if two values are non-equal.
- Parameters
-
| lhs | The first value to compare |
| rhs | The 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: