Namespaces
Variants
Views
Actions

std::{{{1}}}::capacity

From cppreference.com

Returns the number of elements that the container has currently allocated space for.

Contents

[edit] Parameters

(none)

[edit] Return value

Capacity of the currently allocated storage.

[edit] Complexity

Constant.

[edit] Example

[edit] See also

returns the number of elements
(public member function of std::{{{1}}}) [edit]
reserves storage
(public member function of std::{{{1}}}) [edit]