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

Function resize

include/fmt/format.h:888–888  ·  view source on GitHub ↗

Resizes the buffer to contain `count` elements. If T is a POD type new elements may not be initialized.

Source from the content-addressed store, hash-verified

886 /// Resizes the buffer to contain `count` elements. If T is a POD type new
887 /// elements may not be initialized.
888 FMT_CONSTEXPR void resize(size_t count) { this->try_resize(count); }
889
890 /// Increases the buffer capacity to `new_capacity`.
891 void reserve(size_t new_capacity) { this->try_reserve(new_capacity); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected