Add operator* to intrusive_ptr
This commit is contained in:
parent
33bcced82a
commit
61bb079036
@ -70,6 +70,7 @@ public:
|
||||
|
||||
operator bool() const noexcept { return mPtr != nullptr; }
|
||||
|
||||
T& operator*() const noexcept { return *mPtr; }
|
||||
T* operator->() const noexcept { return mPtr; }
|
||||
T* get() const noexcept { return mPtr; }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user