MCPcopy Create free account
hub / github.com/LemLib/LemLib / flush

Method flush

include/fmt/core.h:858–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

856 }
857
858 void flush() {
859 auto size = this->size();
860 this->clear();
861 out_ = copy_str<T>(data_, data_ + this->limit(size), out_);
862 }
863 public:
864 explicit iterator_buffer(OutputIt out, size_t n = buffer_size)
865 : Traits(n), buffer<T>(data_, 0, buffer_size), out_(out) {}

Callers

nothing calls this directly

Calls 3

clearMethod · 0.80
sizeMethod · 0.45
limitMethod · 0.45

Tested by

no test coverage detected