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

Method grow

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

Source from the content-addressed store, hash-verified

1927 T data_[buffer_size];
1928
1929 static FMT_CONSTEXPR void grow(buffer<T>& buf, size_t) {
1930 if (buf.size() == buffer_size) static_cast<iterator_buffer&>(buf).flush();
1931 }
1932
1933 void flush() {
1934 auto size = this->size();

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.45
flushMethod · 0.45

Tested by

no test coverage detected