std::vector<bool>::swap
STD::向量<bool>*全部门办法
Defined in header | | |
---|---|---|
static void swap(reference x, reference y | | |
交换内容x
和y
...
参数
x | - | std::vector |
---|---|---|
y | - | std::vector<bool>::reference value to swap with x |
返回值
%280%29
另见
reference | proxy class representing a reference to a single bool (class) |
---|---|
std::swap(std::vector) | specializes the std::swap algorithm (function template) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。