Algo::IntroSortBy

Sort a range of elements by a projection using the projection's operator<. The sort is unstable.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Algo/IntroSort.h

Include

#include "Algo/IntroSort.h"

Syntax

namespace Algo
{
    template<typename RangeType, typename ProjectionType>
    void Algo::IntroSortBy
    (
        RangeType && Range,
        ProjectionType Projection
    )
}

Remarks

Sort a range of elements by a projection using the projection's operator<. The sort is unstable.

Parameters

Parameter

Description

Range

The range to sort.

Projection

The projection to sort by when applied to the element.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss