Add operator* to intrusive_ptr

This commit is contained in:
Chris Robinson 2019-08-01 20:15:47 -07:00
parent 33bcced82a
commit 61bb079036

View File

@ -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; }