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

Function to_pointer

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

Source from the content-addressed store, hash-verified

500
501template <typename T, typename OutputIt>
502constexpr auto to_pointer(OutputIt, size_t) -> T* {
503 return nullptr;
504}
505template <typename T> FMT_CONSTEXPR auto to_pointer(T*& ptr, size_t n) -> T* {
506 T* begin = ptr;
507 ptr += n;

Callers

nothing calls this directly

Calls 3

get_containerFunction · 0.85
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected