std::vector<bool>::swap

std::vector<bool>::swap

Defined in header <vector>
static void swap(reference x, reference y);

Swaps the contents of x and y.

Parameters

x - std::vector<bool>::reference value to swap with y
y - std::vector<bool>::reference value to swap with x

Return value

(none).

See also

proxy class representing a reference to a single bool
(class)
specializes the std::swap algorithm
(function template)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/vector_bool/swap

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部