Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ CustomSmartPtr
Method
CustomSmartPtr
test/embind/embind_test.cpp:1686–1688 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1684
template<typename T> class CustomSmartPtr {
1685
public:
1686
CustomSmartPtr() : CustomSmartPtr(nullptr) {
1687
std::fill(d_, d_ + N_, Valid);
1688
}
1689
1690
explicit CustomSmartPtr(T* t) : ptr_(t) {
1691
std::fill(d_, d_ + N_, Valid);
Callers
nothing calls this directly
Calls
2
fill
Function · 0.50
verify
Method · 0.45
Tested by
no test coverage detected