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.
Go to the source code of this file.
This graph shows which files directly or indirectly include 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 |