12#ifndef ARCANE_CORE_ITEMINTERNALSORTFUNCTION_H
13#define ARCANE_CORE_ITEMINTERNALSORTFUNCTION_H
17#include "arcane/utils/String.h"
18#include "arcane/IItemInternalSortFunction.h"
42template <
typename SortFunction>
43class ItemInternalSortFunction
48 explicit ItemInternalSortFunction(
const String&
name)
61 void sortItems(ItemInternalMutableArrayView items)
override
63 std::sort(std::begin(items), std::end(items), SortFunction());
Interface d'une fonction de tri des entités.
void sortItems(ItemInternalMutableArrayView items) override
Trie les entités du tableau items.
const String & name() const override
Nom de la fonction de tri.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-