feat(templates): remove AsConst for array
This commit is contained in:
parent
af07b1a134
commit
391670adb7
@ -18,12 +18,6 @@ constexpr const T& AsConst(T& Ref)
|
|||||||
template <typename T>
|
template <typename T>
|
||||||
void AsConst(const T&& Ref) = delete;
|
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>
|
template <typename T>
|
||||||
constexpr TRemoveReference<T>&& MoveTemp(T&& Obj)
|
constexpr TRemoveReference<T>&& MoveTemp(T&& Obj)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user