Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/tgfx
/ PtrWrapper
Method
PtrWrapper
test/src/utils/TextShaper.cpp:32–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
template <typename T>
31
struct PtrWrapper {
32
explicit PtrWrapper(std::shared_ptr<T> ptr) : ptr(std::move(ptr)) {
33
}
34
std::shared_ptr<T> ptr;
35
};
36
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected