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

Method grow

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

Source from the content-addressed store, hash-verified

2056 size_t count_ = 0;
2057
2058 static FMT_CONSTEXPR void grow(buffer<T>& buf, size_t) {
2059 if (buf.size() != buffer_size) return;
2060 static_cast<counting_buffer&>(buf).count_ += buf.size();
2061 buf.clear();
2062 }
2063
2064 public:
2065 constexpr counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected