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

Method basic_memory_buffer

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

Source from the content-addressed store, hash-verified

907 using const_reference = const T&;
908
909 FMT_CONSTEXPR20 explicit basic_memory_buffer(const Allocator& alloc = Allocator()) : alloc_(alloc) {
910 this->set(store_, SIZE);
911 if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
912 }
913
914 FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
915 private:

Callers

nothing calls this directly

Calls 3

is_constant_evaluatedFunction · 0.85
fill_nFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected