std::vector::size
| size_type size() const; |
(hasta C++11) | |
| size_type size() const noexcept; |
(desde C++11) (hasta C++20) |
|
| constexpr size_type size() const noexcept; |
(desde C++20) | |
Devuelve el número de elementos en el contenedor; es decir, std::distance(begin(), end()).
Contenido |
[editar] Parámetros
(Ninguno)
[editar] Valor de retorno
El número de elementos en el contenedor.
[editar] Complejidad
Constante.
[editar] Ejemplo
[editar] Véase también
| devuelve el número de elementos que se pueden almacenar en el almacenamiento asignado actualmente Original: returns the number of elements that can be held in currently allocated storage The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública) | |
| Comprueba si el contenedor está vacío (función miembro pública) | |
| Devuelve el número máximo posible de elementos (función miembro pública) | |
| cambia el número de elementos almacenados Original: changes the number of elements stored The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función miembro pública) |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
