Even more documentation.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-12-11 15:25:24 +01:00
parent d133b0a6fb
commit c4a4aedb04
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 2 additions and 4 deletions

View File

@ -79,6 +79,7 @@ namespace ArbUt {
return BorrowedPtr<TCast>(cast); return BorrowedPtr<TCast>(cast);
} }
/// @brief Implicit cast to retrieve raw pointer.
inline operator T*() const noexcept { return _raw; } inline operator T*() const noexcept { return _raw; }
}; };
} }

View File

@ -57,10 +57,7 @@ namespace ArbUt {
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. /// @brief Implicit cast to retrieve raw pointer.
inline operator T*() const noexcept { inline operator T*() const noexcept { return _raw; }
AssertNotNull(_raw);
return _raw;
}
}; };
} }