fix(templates): fix TReferenceWrapper compilation error on GCC

This commit is contained in:
_Redstone_c_ 2022-03-04 22:53:24 +08:00
parent 2fa4bcea13
commit f94621e7e0

View File

@ -16,7 +16,7 @@ public:
using Type = T;
template <typename U> requires !TIsSame<TReferenceWrapper, typename TRemoveCVRef<U>::Type>::Value
template <typename U> requires (!TIsSame<TReferenceWrapper, typename TRemoveCVRef<U>::Type>::Value)
constexpr TReferenceWrapper(U&& Object) : Ptr(AddressOf(Forward<U>(Object))) { }
TReferenceWrapper(const TReferenceWrapper&) = default;