update boost
This commit is contained in:
@@ -21,7 +21,6 @@ Scott McMurray
|
||||
#include <limits>
|
||||
#include <functional>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/serialization/static_warning.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/sort/spreadsort/detail/constants.hpp>
|
||||
#include <boost/sort/spreadsort/detail/integer_sort.hpp>
|
||||
@@ -735,7 +734,7 @@ namespace spreadsort {
|
||||
void >::type
|
||||
float_sort(RandomAccessIter first, RandomAccessIter last)
|
||||
{
|
||||
BOOST_STATIC_WARNING(!(sizeof(boost::uint64_t) ==
|
||||
BOOST_STATIC_ASSERT(!(sizeof(boost::uint64_t) ==
|
||||
sizeof(typename std::iterator_traits<RandomAccessIter>::value_type)
|
||||
|| sizeof(boost::uint32_t) ==
|
||||
sizeof(typename std::iterator_traits<RandomAccessIter>::value_type))
|
||||
@@ -778,7 +777,6 @@ namespace spreadsort {
|
||||
float_sort(RandomAccessIter first, RandomAccessIter last, Div_type,
|
||||
Right_shift rshift)
|
||||
{
|
||||
BOOST_STATIC_WARNING(sizeof(boost::uintmax_t) >= sizeof(Div_type));
|
||||
boost::sort::pdqsort(first, last);
|
||||
}
|
||||
|
||||
@@ -820,7 +818,6 @@ namespace spreadsort {
|
||||
float_sort(RandomAccessIter first, RandomAccessIter last, Div_type,
|
||||
Right_shift rshift, Compare comp)
|
||||
{
|
||||
BOOST_STATIC_WARNING(sizeof(boost::uintmax_t) >= sizeof(Div_type));
|
||||
boost::sort::pdqsort(first, last, comp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,7 +19,6 @@ Phil Endecott and Frank Gennari
|
||||
#include <limits>
|
||||
#include <functional>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/serialization/static_warning.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/sort/spreadsort/detail/constants.hpp>
|
||||
#include <boost/sort/spreadsort/detail/spreadsort_common.hpp>
|
||||
@@ -391,8 +390,6 @@ namespace spreadsort {
|
||||
//defaulting to boost::sort::pdqsort when integer_sort won't work
|
||||
integer_sort(RandomAccessIter first, RandomAccessIter last, Div_type)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though integer_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Div_type) <= sizeof(size_t) );
|
||||
boost::sort::pdqsort(first, last);
|
||||
}
|
||||
|
||||
@@ -438,8 +435,6 @@ namespace spreadsort {
|
||||
integer_sort(RandomAccessIter first, RandomAccessIter last, Div_type,
|
||||
Right_shift shift, Compare comp)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though integer_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Div_type) <= sizeof(size_t) );
|
||||
boost::sort::pdqsort(first, last, comp);
|
||||
}
|
||||
|
||||
@@ -482,8 +477,6 @@ namespace spreadsort {
|
||||
integer_sort(RandomAccessIter first, RandomAccessIter last, Div_type,
|
||||
Right_shift shift)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though integer_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Div_type) <= sizeof(size_t) );
|
||||
boost::sort::pdqsort(first, last);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ Phil Endecott and Frank Gennari
|
||||
#include <limits>
|
||||
#include <functional>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/serialization/static_warning.hpp>
|
||||
#include <boost/sort/pdqsort/pdqsort.hpp>
|
||||
#include <boost/sort/spreadsort/detail/constants.hpp>
|
||||
#include <boost/cstdint.hpp>
|
||||
|
||||
@@ -20,7 +20,6 @@ Phil Endecott and Frank Gennari
|
||||
#include <limits>
|
||||
#include <functional>
|
||||
#include <boost/static_assert.hpp>
|
||||
#include <boost/serialization/static_warning.hpp>
|
||||
#include <boost/utility/enable_if.hpp>
|
||||
#include <boost/sort/spreadsort/detail/constants.hpp>
|
||||
#include <boost/sort/spreadsort/detail/spreadsort_common.hpp>
|
||||
@@ -700,8 +699,7 @@ namespace spreadsort {
|
||||
string_sort(RandomAccessIter first, RandomAccessIter last,
|
||||
Unsigned_char_type)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though string_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Unsigned_char_type) <= 2 );
|
||||
// Use boost::sort::pdqsort if the char_type is too large for string_sort.
|
||||
boost::sort::pdqsort(first, last);
|
||||
}
|
||||
|
||||
@@ -726,8 +724,7 @@ namespace spreadsort {
|
||||
{
|
||||
typedef typename std::iterator_traits<RandomAccessIter>::value_type
|
||||
Data_type;
|
||||
//Warning that we're using boost::sort::pdqsort, even though string_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Unsigned_char_type) <= 2 );
|
||||
// Use boost::sort::pdqsort if the char_type is too large for string_sort.
|
||||
boost::sort::pdqsort(first, last, std::greater<Data_type>());
|
||||
}
|
||||
|
||||
@@ -752,8 +749,7 @@ namespace spreadsort {
|
||||
string_sort(RandomAccessIter first, RandomAccessIter last,
|
||||
Get_char get_character, Get_length length, Unsigned_char_type)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though string_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Unsigned_char_type) <= 2 );
|
||||
// Use boost::sort::pdqsort if the char_type is too large for string_sort.
|
||||
boost::sort::pdqsort(first, last);
|
||||
}
|
||||
|
||||
@@ -780,8 +776,7 @@ namespace spreadsort {
|
||||
string_sort(RandomAccessIter first, RandomAccessIter last,
|
||||
Get_char get_character, Get_length length, Compare comp, Unsigned_char_type)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though string_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Unsigned_char_type) <= 2 );
|
||||
// Use boost::sort::pdqsort if the char_type is too large for string_sort.
|
||||
boost::sort::pdqsort(first, last, comp);
|
||||
}
|
||||
|
||||
@@ -807,8 +802,7 @@ namespace spreadsort {
|
||||
reverse_string_sort(RandomAccessIter first, RandomAccessIter last,
|
||||
Get_char get_character, Get_length length, Compare comp, Unsigned_char_type)
|
||||
{
|
||||
//Warning that we're using boost::sort::pdqsort, even though string_sort was called
|
||||
BOOST_STATIC_WARNING( sizeof(Unsigned_char_type) <= 2 );
|
||||
// Use boost::sort::pdqsort if the char_type is too large for string_sort.
|
||||
boost::sort::pdqsort(first, last, comp);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user