Commit 7460350b authored by Tomáš Oberhuber's avatar Tomáš Oberhuber
Browse files

Added inplaceSort to BitonicSort.

parent d6882717
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ struct BitonicSort
      bitonicSort( array, compare );
   }

   template< typename Index, typename Fetch, typename Compare, typename Swap >
   void static inplaceSort( const Index begin, const Index end, const Fetch& fetch, const Compare& compare, const Swap& swap )
   {
      bitonicSort( begin, end, fetch, compare, swap );
   }
};

      } // namespace Sorting