Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Algo/LegacySort.h |
Include |
#include "Algo/LegacySort.h" |
namespace Algo
{
template<typename RangeType, typename ProjectionType>
void Algo::LegacySortBy
(
RangeType && Range,
ProjectionType Proj
)
}
Sort a range of elements by a projection using the projection's operator<. The sort is unstable. This used to be Algo::Sort and is now considered legacy.
Parameter |
Description |
---|---|
Range |
The range to sort. |
Proj |
The projection to sort by when applied to the element. |