Program Listing for File ListSort.h
↰ Return to documentation for file (ADS/sequence/ListSort.h)
/*--------------------------------------------------------------------------*/
/*---------------------------- File ListSort.h -----------------------------*/
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/*----------------------------- DEFINITIONS --------------------------------*/
/*--------------------------------------------------------------------------*/
#ifndef __ADS_ListSort
#define __ADS_ListSort
/* self-identification: #endif constant */
/*--------------------------------------------------------------------------*/
/*------------------------------ INCLUDES ----------------------------------*/
/*--------------------------------------------------------------------------*/
#include "ADS/Contract.h"
#include "ADS/sequence/List.h"
#include "ADS/sort/RadixSort.h"
#include <cstddef>
#include <functional>
#include <type_traits>
#include <utility>
#include <vector>
/*--------------------------------------------------------------------------*/
/*--------------------------- NAMESPACE ------------------------------------*/
/*--------------------------------------------------------------------------*/
namespace ADS {
template< class T , bool P , class C = std::less<> >
void listSort( List< T , P > & L , C less = C() );
} // end( namespace ADS )
/*--------------------------------------------------------------------------*/
/*-------------------------- IMPLEMENTATION --------------------------------*/
/*--------------------------------------------------------------------------*/
#include "ADS/sequence/impl/ListSort.tpp"
/*--------------------------------------------------------------------------*/
#endif /* ListSort.h included */
/*--------------------------------------------------------------------------*/
/*-------------------------- End File ListSort.h ---------------------------*/
/*--------------------------------------------------------------------------*/