feat(templates): remove AsConst for array

This commit is contained in:
_Redstone_c_ 2022-11-15 21:02:29 +08:00
parent af07b1a134
commit 391670adb7

View File

@ -18,12 +18,6 @@ constexpr const T& AsConst(T& Ref)
template <typename T>
void AsConst(const T&& Ref) = delete;
template <typename T, size_t N>
constexpr const T(&AsConst(T(&Array)[N]))[N]
{
return Array;
}
template <typename T>
constexpr TRemoveReference<T>&& MoveTemp(T&& Obj)
{