Espaces de noms
Variantes
Affichages
Actions

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

De cppreference.com

 
 
 
std::vector<bool>
Les fonctions membres
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
Elément d'accès
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
Les itérateurs
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)
Capacité
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
Modificateurs
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|{{Élément de la liste ddcl | note = ||
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.
swap de vide ({{{1}}} <T,Alloc> & eg, {{{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.
 
Spécialisé l'algorithme std::swap pour std::vector<bool>. Swaps le contenu de lhs et rhs. Appels 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.

Sommaire

[modifier] Paramètres

lhs, rhs -
conteneurs dont le contenu à échanger
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.

[modifier] Retourne la valeur

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

[modifier] Complexité

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

[modifier] Voir aussi

permute les contenus
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.

(fonction membre publique de std::vector) [edit]