Navigation
API > API/Runtime > API/Runtime/uLangCore
Includes a function in an overload set if the predicate is true. It should be used similarly to this:
// This function will only be instantiated if SomeTrait
ReturnType is the real return type of the function.
| Name | TEnableIf |
| Type | class |
| Header File | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Templates/Conditionals.h |
| Include Path | #include "uLang/Common/Templates/Conditionals.h" |
Syntax
template<bool Predicate, typename Result>
class TEnableIf