| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected