std::regex_...r::operator=(3)
π NAME π
std::regex_error::operator= β literally std::regex_error::operator=. This is the std::regex_...r::operator=(3) page from the C++ Standard Libary, and itβs all about assigning one regex_error object to another. πβ¨
β¨ Synopsis β¨
Okay so the signature is:
regex_error& operator=( const regex_error& other ) noexcept; (since C++11)
It assigns the contents with those of other. If *this and other both have dynamic type std::regex_error, then after assignment std::strcmp(what(), other.what()) == 0. Thatβs the whole vibe check, bestie. π
π Parameters π
otherβ anotherregex_errorobject to assign with. π«Ά
πΈ Return value πΈ
*thisβ the return value is literally*this, no cap. π
π¦ Example π¦
This section is incomplete.
Reason: no example. π
π§ Category π§
- Todo no example.
xoxo, your Unix bestie π Β· source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::regex_...r::operator=(3) π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms