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

Method move_alloc

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

Source from the content-addressed store, hash-verified

829 FMT_ENABLE_IF(std::allocator_traits<Alloc>::
830 propagate_on_container_move_assignment::value)>
831 FMT_CONSTEXPR20 auto move_alloc(basic_memory_buffer& other) -> bool {
832 alloc_ = std::move(other.alloc_);
833 return true;
834 }
835 // If the allocator does not propagate then copy the data from other.
836 template <typename Alloc = Allocator,
837 FMT_ENABLE_IF(!std::allocator_traits<Alloc>::

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.80
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected