5#include "Algo/Accumulate.h"
6#include "Algo/Impl/RangePointerType.h"
7#include "Math/RandomStream.h"
8#include "Templates/UnrealTemplate.h"
9#include "Traits/ElementType.h"
10#include "GenericPlatform/GenericPlatformMath.h"
14 template <
typename RangeType,
typename ProjectionType>
53
54
55
56
57
58
59
60 template <
typename RangeType,
typename ProjectionType>
62 ->
decltype(
AlgoImpl::SelectRandomWeightedBy(Forward<RangeType>(Range), MoveTemp(Proj)))
FORCEINLINE auto SelectRandomWeightedBy(RangeType &&Range, ProjectionType Proj) -> decltype(AlgoImpl::SelectRandomWeightedBy(Forward< RangeType >(Range), MoveTemp(Proj)))
TRangePointerType< typenameTRemoveReference< RangeType >::Type >::Type SelectRandomWeightedBy(RangeType &&Range, ProjectionType Proj)