Espacios de nombres
Variantes
Acciones

std::vector<bool>::swap

De cppreference.com

 
 
 
std::vector<bool>
Las funciones miembro
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.
Elemento acceso
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.
Los 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.
Capacidad
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
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.
std::vector<bool> specific
vector<bool>::flip
vector<bool>::swap
 
Definido en la cabecera <vector>
static void swap(reference x, reference y);
Intercambia los contenidos de x y y .
Original:
Swaps the contents of x and y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Parámetros

x -
std::vector<bool>::reference valor para intercambiar con y
Original:
std::vector<bool>::reference value to swap with y
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
y -
std::vector<bool>::reference valor para intercambiar con x
Original:
std::vector<bool>::reference value to swap with x
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

(Ninguno)
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] Ver también

clase de proxy que representa una referencia a una sola bool
Original:
proxy class representing a reference to a single bool
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(clase)
el algoritmo se especializa std::swap
Original:
specializes the std::swap algorithm
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]