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::invalid_argument

Author

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

                                                    libstdc++                        std::invalid_argument(3cxx)

Detailed Description

       Thrown to report invalid arguments to functions.

Member Function Documentation

virtualconstchar*std::logic_error::what()const[virtual],[noexcept],[inherited]
       Returns a C-style character string describing the general cause of the current error (the same string
       passed to the ctor).

       Reimplemented from std::exception.

       Reimplemented in std::future_error.

Name

       std::invalid_argument

Synopsis

       #include <stdexcept>

       Inherits std::logic_error.

   PublicMemberFunctionsinvalid_argument (const char *) _GLIBCXX_TXN_SAFE
       invalid_argument (const invalid_argument &)=defaultinvalid_argument (const string &__arg) _GLIBCXX_TXN_SAFE
       invalid_argument (invalid_argument &&)=defaultinvalid_argument & operator= (const invalid_argument &)=defaultinvalid_argument & operator= (invalid_argument &&)=defaultvirtual const char * what () const noexcept

See Also