首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::swap(std::basic_regex)

template< class CharT, class Traits > void swap( basic_regex<CharT,Traits> &lhs, basic_regex<CharT,Traits> &rhs );

(since C++11)

重载std::swap算法std::basic_regex.交换lhs与...rhs.有效地打电话lhs.swap(rhs)...

参数

lhs, rhs

-

regular expressions to swap

返回值

%280%29

例外

noexcept规格:

noexcept

另见

swap

swaps the contents (public member function)

代码语言:txt
复制
 © cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券