diff --git a/modules/memory/public/pointer_types/null_on_move.hpp b/modules/memory/public/pointer_types/null_on_move.hpp index f98e655..aeea689 100644 --- a/modules/memory/public/pointer_types/null_on_move.hpp +++ b/modules/memory/public/pointer_types/null_on_move.hpp @@ -66,6 +66,11 @@ public: return m_value; } + [[nodiscard]] auto get() -> Underlying_T + { + return m_value; + } + private: Underlying_T m_value; };