Difference between revisions of "cpp/string/basic string/capacity"
From cppreference.com
< cpp | string | basic string
m (Text replace - "{{complex constant}}" to "Constant") |
m (Text replace - "{{param none}}" to "(none)") |
||
Line 8: | Line 8: | ||
===Parameters=== | ===Parameters=== | ||
− | + | (none) | |
===Return value=== | ===Return value=== |
Revision as of 13:00, 11 October 2011
Template:cpp/string/basic string/sidebar
size_type capacity() const; |
||
Returns the number of characters that the string has currently allocated space for.
Contents |
Parameters
(none)
Return value
capacity of the currently allocated storage
Complexity
Constant