Espaços nominais
Variantes
Acções

std::swap(std::vector<bool>)

Da cppreference.com

 
 
 
std::vector<bool>
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vector::vector
vector::~vector
vector::operator=
vector::assign
vector::get_allocator
acesso. Elemento
Original:
Element access
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vector::at
vector::operator[]
vector::front
vector::back
Iteradores
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vector::begin
vector::cbegin

(C++11)
vector::end
vector::cend

(C++11)
vector::rbegin
vector::crbegin

(C++11)
vector::rend
vector::crend

(C++11)
Capacidade
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vector::empty
vector::size
vector::max_size
vector::reserve
vector::capacity
Modificadores
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
vector::clear
vector::insert
vector::erase
vector::push_back
vector::pop_back
vector::resize
vector::swap
std::vector<bool> specific
vector<bool>::flip
vector<bool>::swap
 
{{tr|{{Ddcl item da lista | notas = ||
template <class T, Alloc classe>
Original:
template< class T, class Alloc >
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
void swap ({{{1}}} <T,Alloc> & lhs, {{{1}}} <T,Alloc> & rhs);
Original:
void swap( {{{1}}}<T,Alloc> &lhs, {{{1}}}<T,Alloc> &rhs );
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Especializa o algoritmo std::swap para std::vector<bool>. Trocar o conteúdo de lhs e rhs. Chamadas lhs.swap(rhs).
Original:
Specializes the std::swap algorithm for std::vector<bool>. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs).
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Índice

[editar] Parâmetros

lhs, rhs -
recipientes cujo conteúdo para trocar
Original:
containers whose contents to swap
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Complexidade

Constante.
Original:
Constant.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Veja também

Trocar o conteúdo
Original:
swaps the contents
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(of std::vector função pública membro) [edit]