diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h index c2c7397d8..f655eb4b6 100644 --- a/include/base.h +++ b/include/base.h @@ -116,6 +116,7 @@ public: return *this; } + inline T* ptr() const { return value; } inline operator bool() const { return (value != nullptr); } inline operator T*() const { return value; } inline T* operator->() const { return value; } |
