std::regex_error(3cxx)
π NAME π
std::regex_error β a regular expression exception class. And yes bestie, this is the std::regex_error(3cxx) page, so you're in exactly the right spot π«Ά.
β¨ SYNOPSIS β¨
#include <regex>
Inherits std::runtime_error.
π Public Member Functions π
regex_error (error_type __ecode)β Constructs aregex_errorobject.regex_constants::error_type code () const noexceptβ Gets the regex error code.virtual const char * what () const noexceptβ the inheritedwhat()member; the full explanation is down below π .
π Detailed Description π
A regular expression exception class. it's giving exception-class realness β¨
The regular expression library throws objects of this class on error.
β Since β
C++11
π§ Constructor & Destructor Documentation π§
π οΈ std::regex_error::regex_error (error_type __ecode) [explicit]
Constructs a regex_error object.
- Parameters
__ecodeβ the regex error code.
π Member Function Documentation π
π regex_constants::error_type std::regex_error::code () const [inline], [noexcept]
Gets the regex error code.
- Returns
- the regex error code.
π£οΈ virtual const char * std::runtime_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::filesystem::filesystem_error, and std::experimental::filesystem::v1::filesystem_error.
βοΈ Author βοΈ
Generated automatically by Doxygen for libstdc++ from the source code.
π sign-off time: source/version is libstdc++ / std::regex_error(3cxx), and the footer did not give a date β so there's literally no date to report, bestie. π«Άπ
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms