Returns the capacity of this instance. All instances have a non‐zero capacity: default and moved from instances have a small internal buffer.

Synopsis

Declared in <absl/strings/cord_buffer.h>

size_t
capacity() const;

Return Value

The capacity of this buffer.

Created with MrDocs