IfPThenAElseB

Syntax

template<typename PredicateType, typename ReferencedType>
ReferencedType * IfPThenAElseB
(
    PredicateType Predicate,
    ReferencedType * A,
    ReferencedType * B
)

Remarks

Branchless pointer selection based on predicate return PTRINT(Predicate) ? A : B;

References

Module

Core

Header

Runtime/Core/Public/Containers/ContainerAllocationPolicies.h

Source

Runtime/Core/Public/Templates/UnrealTemplate.h