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

Method flush

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

Source from the content-addressed store, hash-verified

1931 }
1932
1933 void flush() {
1934 auto size = this->size();
1935 this->clear();
1936 const T* begin = data_;
1937 const T* end = begin + this->limit(size);
1938 out_ = copy<T>(begin, end, out_);
1939 }
1940
1941 public:
1942 explicit iterator_buffer(OutputIt out, size_t n = buffer_size)

Callers 2

growMethod · 0.45
growMethod · 0.45

Calls 2

sizeMethod · 0.45
limitMethod · 0.45

Tested by

no test coverage detected