定义于头文件
<regex>
|
||
basic_regex& operator=( const basic_regex& other );
|
(1) | (C++11 起) |
basic_regex& operator=( basic_regex&& other ) noexcept;
|
(2) | (C++11 起) |
basic_regex& operator=( const CharT* ptr );
|
(3) | (C++11 起) |
basic_regex& operator=( std::initializer_list<CharT> il );
|
(4) | (C++11 起) |
template< class ST, class SA >
basic_regex& operator=( const std::basic_string<CharT,ST,SA>& p ); |
(5) | (C++11 起) |
赋值内容。
other
的内容。等价于 assign(other); 。other
的内容。操作后 other
在合法但未指定的状态。等价于 assign(other); 。ptr
所指向的空终止字符串。等价于 assign(ptr); 。il
中含有的字符。等价于 assign(il); 。p
的内容。等价于 assign(p); 。目录 |
other | - | 另一 regex 对象 |
ptr | - | 指向空终止字符串的指针 |
il | - | 含要赋值的字符的 initializer_list |
p | - | 含要赋值的字符的 string |
*this 。
赋值内容 (公开成员函数) |