std::basic_regex::swap
| void swap( basic_regex& other ); |  | (since C++11) | 
|---|
交换两个正则表达式的内容。
参数
| other | - | the regular expression to swap with | 
|---|
返回值
%280%29
例外
noexcept规格:
noexcept
例
另见
| std::swap(std::basic_regex) (C++11) | specializes the std::swap algorithm (function template) | 
|---|
 © cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

