| 115 | |
| 116 | template<class T> |
| 117 | storage_ptr( |
| 118 | detail::shared_resource_impl<T>* p) noexcept |
| 119 | : i_(reinterpret_cast<std::uintptr_t>( |
| 120 | static_cast<container::pmr::memory_resource*>(p)) + 1 + |
| 121 | (json::is_deallocate_trivial<T>::value ? 2 : 0)) |
| 122 | { |
| 123 | BOOST_ASSERT(p); |
| 124 | } |
| 125 | |
| 126 | public: |
| 127 | /** Destructor. |
nothing calls this directly
no test coverage detected