命名空间
变体
操作

std::match_results<BidirIt,Alloc>::swap

来自 cppreference.cn
< cpp‎ | regex‎ | match results
 
 
 
正则表达式库
(C++11)
算法
迭代器
异常
特性
常量
(C++11)
正则表达式语法
 
 
void swap( match_results& other ) noexcept;
(自 C++11 起)

交换两个 match_results 对象的共享状态。

目录

[编辑] 参数

other - 要与之交换的 match_results

[编辑] 返回值

(无)

[编辑] 示例

[编辑] 参见

特化 std::swap 算法
(函数模板) [编辑]