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

Method do_is_equal

test/doc_storage_ptr.cpp:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 }
150
151 bool do_is_equal( memory_resource const& other ) const noexcept override
152 {
153 // since the global allocation and deallocation functions are used,
154 // any instance of a logging_resource can deallocate memory allocated
155 // by another instance of a logging_resource
156
157 return dynamic_cast< logging_resource const* >( &other ) != nullptr;
158 }
159};
160// end::doc_storage_ptr_10[]
161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected