MCPcopy 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

1684template<typename T> class CustomSmartPtr {
1685public:
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

fillFunction · 0.50
verifyMethod · 0.45

Tested by

no test coverage detected