Utility template for returning a pointer to an object that is owned by someone else; throws std::runtime_error if nullptr is stored. More...
Include dependency graph for checked_pointer.hpp:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | utils::CheckedPtr< T > |
| Utility template for returning a pointer to an object that is owned by someone else; throws std::runtime_error if nullptr is stored. More... | |
| class | utils::CheckedPtr< T & > |
Namespaces | |
| namespace | utils |
| Utilities. | |
Functions | |
| template<typename T > | |
| constexpr CheckedPtr< T > | utils::MakeCheckedPtr (T *ptr) noexcept |
Utility template for returning a pointer to an object that is owned by someone else; throws std::runtime_error if nullptr is stored.
Definition in file checked_pointer.hpp.