GNAT.Heap_Sort_G
(g-hesorg.ads
) ¶Similar to Heap_Sort_A
except that the move and sorting procedures
are provided as generic parameters, this improves efficiency, especially
if the procedures can be inlined, at the expense of duplicating code for
multiple instantiations.