logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::error_category

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                          std::error_category(3cxx)

Detailed Description

       Abstract base class for types defining a category of error codes.

       An error category defines a context that give meaning to the integer stored in an error_code or
       error_condition object. For example, the standard errno constants such a EINVAL and ENOMEM are associated
       with the 'generic' category and other OS-specific error numbers are associated with the 'system'
       category, but a user-defined category might give different meanings to the same numerical values.

       Since
           C++11

Name

       std::error_category

Synopsis

       #include <system_error>

   PublicMemberFunctionserror_category (consterror_category &)=deletevirtualerror_conditiondefault_error_condition (int __i) constnoexceptvirtual bool equivalent (consterror_code &__code, int __i) constnoexceptvirtual bool equivalent (int __i, consterror_condition &__cond) constnoexceptvirtualstringmessage (int) const =0
       virtualconst char * name () constnoexcept=0
       bool operator!= (consterror_category &__other) constnoexcept
       bool operator< (consterror_category &__other) constnoexcepterror_category & operator= (consterror_category &)=delete
       bool operator== (consterror_category &__other) constnoexcept

See Also