#pragma once #include "CoreTypes.h" #include "Concepts/Common.h" #include "Templates/Utility.h" #include "TypeTraits/TypeTraits.h" NAMESPACE_REDCRAFT_BEGIN NAMESPACE_MODULE_BEGIN(Redcraft) NAMESPACE_MODULE_BEGIN(Utility) template concept CAssignableFrom = CLValueReference && CCommonReferenceWith::Type&, const typename TRemoveReference::Type&> && requires(T A, U&& B) { { A = Forward(B) } -> CSameAs; }; NAMESPACE_MODULE_END(Utility) NAMESPACE_MODULE_END(Redcraft) NAMESPACE_REDCRAFT_END