MCPcopy Create free account
hub / github.com/fmtlib/fmt / capacity

Function capacity

include/fmt/base.h:1792–1792  ·  view source on GitHub ↗

Returns the capacity of this buffer.

Source from the content-addressed store, hash-verified

1790
1791 /// Returns the capacity of this buffer.
1792 constexpr auto capacity() const noexcept -> size_t { return capacity_; }
1793
1794 /// Returns a pointer to the buffer data (not null-terminated).
1795 FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected