MCPcopy Create free account
hub / github.com/boostorg/json / get_shared

Method get_shared

include/boost/json/storage_ptr.hpp:88–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 std::uintptr_t i_;
87
88 shared_resource*
89 get_shared() const noexcept
90 {
91 return static_cast<shared_resource*>(
92 reinterpret_cast<container::pmr::memory_resource*>(
93 i_ & ~3));
94 }
95
96 void
97 addref() const noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected