MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / __add_weak

Method __add_weak

system/lib/libcxx/src/memory.cpp:51–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49void __shared_weak_count::__add_shared() noexcept { __shared_count::__add_shared(); }
50
51void __shared_weak_count::__add_weak() noexcept { __libcpp_atomic_refcount_increment(__shared_weak_owners_); }
52
53void __shared_weak_count::__release_shared() noexcept {
54 if (__shared_count::__release_shared())

Callers 1

weak_ptrMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected