[ Web Proxy ]
URL:
Viewing: https://de.cppreference.com/cpp/container/array/swap2 [Back]  [Original]

std::swap(std::array) cppreference.com
cppreference.com
Namensrume
Varianten

std::swap(std::array)

Aus cppreference.com

<metanoindex/>

 
 
 
std::array
Member-Funktionen
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.
Elementzugriff zerstrt
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.
array::at
array::operator[]
array::front
array::back
array::data
Iteratoren
Original:
Iterators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
array::begin
array::cbegin
array::end
array::cend
array::rbegin
array::crbegin
array::rend
array::crend
Kapazitt
Original:
Capacity
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
array::empty
array::size
array::max_size
Modifiers
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
array::fill
array::swap
Non-Member-Funktionen
Original:
Non-member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
get
swap
Helper-Klassen
Original:
Helper classes
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
tuple_size
tuple_element
 

Vorlagenschleife entdeckt: Vorlage:include page

<tbody> </tbody>
template< > void swap( array<> &lhs, array<> &rhs );
(seit C++11)
Spezialisiert die std::swap Algorithmus fr std::array. Tauscht die Inhalte lhs und rhs. Anrufe lhs.swap(rhs) .
Original:
Specializes the std::swap algorithm for std::array. 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.

Parameter

lhs, rhs -
Behlter, deren Inhalt zu tauschen
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.

Rckgabewert

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

Komplexitt

Linear in size of the container.

Siehe auch

tauscht die Inhalte
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.

(ffentliche Elementfunktion) [edit]

Web Proxy Viewer  |  New URL  |  Original Page