|  | Home | Libraries | People | FAQ | More | 
boost::sort::spreadsort::spreadsort — Generic spreadsort variant detecting string element type so call to string_sort for std::wstrings. 
// In header: <boost/sort/spreadsort/spreadsort.hpp> template<typename RandomAccessIter> boost::enable_if_c< is_same< typename std::iterator_traits< RandomAccessIter >::value_type, typename std::wstring >::value &&sizeof(wchar_t)==2, void >::type spreadsort(RandomAccessIter first, RandomAccessIter last);
If the data type provided is a wstring, string_sort is used. 
| ![[Note]](../../../../../../../doc/src/images/note.png) | Note | 
|---|---|
| Sorting other data types requires picking between  | 
| Parameters: | 
 | ||||
| Requires: | [ 
 
 
 | ||||
| Postconditions: | The elements in the range [ |