Optional value wrapper with byeol-style interface. More...
#include <tmay.hpp>
Public Member Functions | |
| tmay (const T &value) | |
| tmay (const tmedium< T > &value) | |
| T * | operator-> () |
| const T * | operator-> () const BY_CONST_FUNC(operator->()) |
| T & | operator* () |
| const T & | operator* () const BY_CONST_FUNC(operator*()) |
| operator T& () | |
| operator const T & () const | |
| operator nbool () const | |
| nbool | has () const |
| T * | get () |
| const T * | get () const BY_CONST_FUNC(get()) virtual void rel() |
| virtual void | set (const T &arg) |
Optional value wrapper with byeol-style interface.
Wrapper around std::optional with improved function names and signatures consistent with byeol conventions. Provides safe value handling for return-by-value scenarios. Use tstr<T> or tweak<T> for return-by-reference cases.