Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Templates > API/Runtime/Core/Templates/TIsDerivedFrom
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Templates/UnrealTypeTraits.h |
Include | #include "Templates/UnrealTypeTraits.h" |
Syntax
static Value = sizeof(Test( DerivedTypePtr() )) == sizeof(Yes);
Remarks
Test the derived type pointer. If it inherits from BaseType, the Test( BaseType* ) will be chosen. If it does not, Test( ... ) will be chosen.