This commit is contained in:
1 file changed
+3
@@ -63,6 +63,9 @@ namespace ArbUt {
|
|||||||
inline bool operator!=(const ScopedPtr& rhs) const noexcept { return _raw != rhs._raw; }
|
inline bool operator!=(const ScopedPtr& rhs) const noexcept { return _raw != rhs._raw; }
|
||||||
/// @brief Check equality of pointers
|
/// @brief Check equality of pointers
|
||||||
inline bool operator!=(T* rhs) const noexcept { return _raw != rhs; }
|
inline bool operator!=(T* rhs) const noexcept { return _raw != rhs; }
|
||||||
|
|
||||||
|
/// @brief Implicit cast to retrieve raw pointer.
|
||||||
|
inline operator T*() const noexcept { return _raw; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user