Type-safe nullable pointer wrapper inspired by Rust's Option<T>. More...
#include "mxvk_exception.hpp"#include <format>#include <optional>#include <string>#include <type_traits>#include <utility>Go to the source code of this file.
Classes | |
| class | mxvk::Wrapper< T > |
| A nullable smart wrapper around a raw pointer. More... | |
Namespaces | |
| namespace | mx |
| namespace | mxvk |
| Utilities for loading and saving PNG images. | |
Concepts | |
| concept | mxvk::WrapType |
| Constrains Wrapper<T> to pointer types only. | |
Typedefs | |
| template<mxvk::WrapType T> | |
| using | mx::Wrapper = mxvk::Wrapper<T> |
Type-safe nullable pointer wrapper inspired by Rust's Option<T>.
Wrapper<T> holds an optional pointer value and provides panic-on-null accessors similar to Rust's unwrap() / expect() semantics.
Definition in file mxvk_wrapper.hpp.