Namespace
Varianti

cpp/container/stack/size: differenze tra le versioni

Da cppreference.com.
< cpp‎ | container‎ | stack
m (r2.7.3) (Bot: Aggiungo en, es, pl, pt, ru)
m (Use {{lc}}. Update links. Various fixes.)
 
(3 revisioni intermedie di 3 utenti non mostrate)
Riga 1: Riga 1:
{{title|size}}
+
{{|cpp/container/stack
Sintassi:
+
 
+
<syntaxhighlight lang="cpp">
+
    #include <stack>
+
    size_type size() const;
+
</syntaxhighlight>
+
 
+
La funzione size() ritorna il numero di elementi nello stack.
+
 
+
Argomenti correlati: [[cpp/container/stack/empty | empty]]
+
  
 +
 
[[en:cpp/container/stack/size]]
 
[[en:cpp/container/stack/size]]
 
[[es:cpp/container/stack/size]]
 
[[es:cpp/container/stack/size]]
 +
 +
 
[[pl:cpp/container/stack/size]]
 
[[pl:cpp/container/stack/size]]
 
[[pt:cpp/container/stack/size]]
 
[[pt:cpp/container/stack/size]]
 
[[ru:cpp/container/stack/size]]
 
[[ru:cpp/container/stack/size]]
 +

Versione attuale delle 12:44, 2 lug 2013

 
 
 
std :: stack
Membri funzioni
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.
stack::stack
stack::~stack
stack::operator=
Elemento accesso
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.
stack::top
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.
stack::empty
stack::size
Modificatori
Original:
Modifiers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
stack::push
stack::emplace
stack::pop
stack::swap
 
size_type size() const;
Restituisce il numero di elementi nel contenitore sottostante, vale a dire, c.size().
Original:
Returns the number of elements in the underlying container, i.e, c.size().
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Indice

[modifica] Parametri

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

[modifica] Valore di ritorno

il numero di elementi nel contenitore
Original:
the number of elements in the container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[modifica] Complessità

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.

[modifica] Vedi anche

verifica se il contenitore sottostante è vuoto
Original:
checks whether the underlying container is empty
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(metodo pubblico) [modifica]