std::queue::queue
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> explicit queue( const Container& cont = Container() ); explicit queue( const Container& cont ); |
(1) | (fino al c++11) (dal C++11) |
explicit queue( Container&& cont = Container() ); |
(2) | (dal C++11) |
queue( const queue& other ); |
(3) | |
queue( queue&& other ); |
(4) | (dal C++11) |
template< class Alloc > explicit queue( const Alloc& alloc ); |
(5) | (dal C++11) |
template< class Alloc > queue( const Container& cont, const Alloc& alloc ); |
(6) | (dal C++11) |
template< class Alloc > queue( Container&& cont, const Alloc& alloc ); |
(7) | (dal C++11) |
template< class Alloc > queue( const queue& other, const Alloc& alloc ); |
(8) | (dal C++11) |
template< class Alloc > queue( queue&& other, const Alloc& alloc ); |
(9) | (dal C++11) |
Costruisce nuovo contenitore sottostante dell'adattatore contenitore da una varietà di fonti di dati.
Original:
Constructs new underlying container of the container adaptor from a variety of data sources.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
1)
Copia-costruisce il
c sottostante contenitore con il contenuto di cont. Questo è anche il (fino al c++11) costruttore predefinitoOriginal:
Copy-constructs the underlying container
c with the contents of cont. This is also the default constructor (fino al c++11)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
2)
Spostare-costruisce il contenitore sottostante
c con std::move(cont). Questo è anche il (dal C++11) costruttore predefinitoOriginal:
Move-constructs the underlying container
c with std::move(cont). This is also the default constructor (dal C++11)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
3)
Copia costruttore. L'adattatore è copia-costruito con i contenuti di
other.c. (dichiarato in modo implicito)Original:
Copy constructor. The adaptor is copy-constructed with the contents of
other.c. (dichiarato in modo implicito)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
4)
Sposta costruttore. L'adattatore è realizzato con
std::move(other.c). (dichiarato in modo implicito)Original:
Move constructor. The adaptor is constructed with
std::move(other.c). (dichiarato in modo implicito)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
5-9)
I seguenti costruttori sono definite solo se
std::uses_allocator