Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Templates/UnrealTemplate.h |
Include |
#include "Templates/UnrealTemplate.h" |
template<typename PredicateType, typename ReferencedType>
ReferencedType * IfPThenAElseB
(
PredicateType Predicate,
ReferencedType * A,
ReferencedType * B
)
Branchless pointer selection based on predicate return PTRINT(Predicate) ? A : B;