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

Function get_allocator

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

Returns a copy of the allocator associated with this buffer.

Source from the content-addressed store, hash-verified

882
883 // Returns a copy of the allocator associated with this buffer.
884 auto get_allocator() const -> Allocator { return alloc_; }
885
886 /// Resizes the buffer to contain `count` elements. If T is a POD type new
887 /// elements may not be initialized.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected