fix(templates): fix DeclVal implementation

This commit is contained in:
_Redstone_c_ 2022-11-21 22:04:17 +08:00
parent 6a70d4273e
commit e35fa9dd11

View File

@ -80,7 +80,7 @@ constexpr T Exchange(T& A, U&& B)
} }
template <typename T> template <typename T>
constexpr T&& DeclVal(); constexpr TAddRValueReference<T> DeclVal();
template <typename T> requires (CObject<T>) template <typename T> requires (CObject<T>)
constexpr T* AddressOf(T& Object) constexpr T* AddressOf(T& Object)