std::swap(std::basic_regex)
来自cppreference.com
< cpp | regex | basic regex
正则表达式库
类 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
算法 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
迭代器 | ||||
(C++11)
|
||||
(C++11)
|
||||
异常 | ||||
(C++11)
|
||||
特性 | ||||
(C++11)
|
||||
常量 | ||||
(C++11)
|
||||
(C++11)
|
||||
(C++11)
|
||||
正则表达式文法 | ||||
(C++11)
|
std::basic_regex
template<
class
CharT, class
Traits >
void swap( basic_regex<CharT,Traits> &lhs, basic_regex<CharT,Traits> &rhs ) noexcept; |
(C++11 起) | |
为 std::basic_regex
特化 std::swap 算法。交换
lhs
与 rhs
的状态。等效地调用 lhs.swap(rhs) 。
参数
lhs, rhs | - | 要交换的正则表达式 |
返回值
(无)
示例
本节未完成 原因:暂无示例 |
参阅
交换内容 (公开成员函数) |