std::regex_error:: operator=
| 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 | ||||
|
regex_error::operator=
|
||||
|
regex_error
&
operator
=
(
const
regex_error
&
other
)
noexcept
;
|
(自 C++11 起) | |
将内容赋值为
other
的内容。如果
*
this
和
other
都具有动态类型
std::regex_error
,则赋值后满足
std::
strcmp
(
what
(
)
, other.
what
(
)
)
==
0
。
参数
| 其他 | - |
用于赋值的另一个
regex_error
对象
|
返回值
* this
示例
|
本节内容不完整
原因:缺少示例 |