| Localization library | |||||||||||||||||||||||||
| Regular expressions library(C++11) | |||||||||||||||||||||||||
| Formatting library(C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Classes | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Algorithms | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Iterators | ||||
(C++11) | ||||
(C++11) | ||||
| Exceptions | ||||
(C++11) | ||||
| Traits | ||||
(C++11) | ||||
| Constants | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
| Regex Grammar | ||||
(C++11) |
| Member Functions | ||||
basic_regex::operator= | ||||
| Observers | ||||
| Locale | ||||
| Modifiers | ||||
| Constants | ||||
| Non-member Functions | ||||
| Deduction guides(C++17) |
Defined in header <regex> | ||
basic_regex& operator=(const basic_regex& other); | (1) | (since C++11) |
basic_regex& operator=( basic_regex&& other)noexcept; | (2) | (since C++11) |
basic_regex& operator=(const CharT* ptr); | (3) | (since C++11) |
basic_regex& operator=(std::initializer_list<CharT> il); | (4) | (since C++11) |
template<class ST,class SA> basic_regex& operator=(conststd::basic_string<CharT,ST,SA>& p); | (5) | (since C++11) |
Assigns the contents.
Contents |
| other | - | another regex object |
| ptr | - | pointer to a null-terminated character string |
| il | - | initializer list containing characters to assign |
| p | - | string containing characters to assign |
*this
| assigns the contents (public member function)[edit] |