Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
295
template <typename T, typename Deleter>
296
auto ptr(const std::unique_ptr<T, Deleter>& p) -> const void* {
297
return p.get();
298
}
299
template <typename T> auto ptr(const std::shared_ptr<T>& p) -> const void* {
300
return p.get();
301
}
Callers
5
TEST
Function · 0.50
TEST
Function · 0.50
consume
Method · 0.50
TEST
Function · 0.50
invoke
Function · 0.50
Calls
1
get
Method · 0.45
Tested by
3
TEST
Function · 0.40
TEST
Function · 0.40
TEST
Function · 0.40