Anonymous user
Sorting algorithms/Insertion sort: Difference between revisions
→{{header|C++}}: same algorithm, better style
(Added BBC Basic and Cobol version of the insertion sort.) |
(→{{header|C++}}: same algorithm, better style) |
||
Line 232:
=={{header|C++}}==
<lang cpp>#include <algorithm>
template<typename Iter>
void insertion_sort(Iter beg, Iter end)
{
}</lang>
=={{header|C sharp|C#}}==
<lang csharp>using System;
|