bool operator==( const error_category& rhs ) const noexcept; | (1) | (since C++11) |
bool operator!=( const error_category& rhs ) const noexcept; | (2) | (since C++11) |
bool operator<( const error_category& rhs ) const noexcept; | (3) | (since C++11) |
Compares to another error category.
*this
and rhs
refer to the same object.*this
and rhs
do not refer to the same object.*this
and rhs
by the order of this
and &rhs
. Equivalent to std::less<const error_category*>()(this, &rhs)
.code | - | specifies the error code to compare |
condition | - | specifies the error condition to compare |
true
if *this
and rhs
refer to the same object, false
otherwise.true
if *this
and rhs
do not refer to the same object, false
otherwise.true
if *this
is less than rhs
as defined by the order of this
and &rhs
.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/error/error_category/operator_cmp