Navigation
API > API/Runtime > API/Runtime/uLangCore > API/Runtime/uLangCore/uLang > API/Runtime/uLangCore/uLang/Common > API/Runtime/uLangCore/uLang/Common/Templates
References
| Module | uLangCore |
| Header | /Engine/Source/Runtime/Solaris/uLangCore/Public/uLang/Common/Templates/Conditionals.h |
| Include | #include "uLang/Common/Templates/Conditionals.h" |
Syntax
template<bool Predicate, typename Result>
class TEnableIf
Remarks
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.