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

Function ptr

include/fmt/std.h:296–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295template <typename T, typename Deleter>
296auto ptr(const std::unique_ptr<T, Deleter>& p) -> const void* {
297 return p.get();
298}
299template <typename T> auto ptr(const std::shared_ptr<T>& p) -> const void* {
300 return p.get();
301}

Callers 5

TESTFunction · 0.50
TESTFunction · 0.50
consumeMethod · 0.50
TESTFunction · 0.50
invokeFunction · 0.50

Calls 1

getMethod · 0.45

Tested by 3

TESTFunction · 0.40
TESTFunction · 0.40
TESTFunction · 0.40