Stop using the deprecated BOOST_HAS_ macros in unordered and hash.

[SVN r59697]
This commit is contained in:
Daniel James
2010-02-15 23:01:06 +00:00
parent 7efcf9ccff
commit 06f63fdc0d
3 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@
// G = Grouped/Ungrouped // G = Grouped/Ungrouped
// E = Key Extractor // E = Key Extractor
#if defined(BOOST_HAS_RVALUE_REFS) && defined(BOOST_HAS_VARIADIC_TMPL) #if !defined(BOOST_NO_RVALUE_REFERENCES) && !defined(BOOST_NO_VARIADIC_TEMPLATES)
# if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) # if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
// STLport doesn't have std::forward. // STLport doesn't have std::forward.
# else # else

View File

@ -19,7 +19,7 @@
#include <boost/unordered/detail/equivalent.hpp> #include <boost/unordered/detail/equivalent.hpp>
#include <boost/unordered/detail/unique.hpp> #include <boost/unordered/detail/unique.hpp>
#if !defined(BOOST_HAS_RVALUE_REFS) #if defined(BOOST_NO_RVALUE_REFERENCES)
#include <boost/unordered/detail/move.hpp> #include <boost/unordered/detail/move.hpp>
#endif #endif
@ -159,7 +159,7 @@ namespace boost
~unordered_map() {} ~unordered_map() {}
#if defined(BOOST_HAS_RVALUE_REFS) #if !defined(BOOST_NO_RVALUE_REFERENCES)
unordered_map(unordered_map&& other) unordered_map(unordered_map&& other)
: table_(other.table_, boost::unordered_detail::move_tag()) : table_(other.table_, boost::unordered_detail::move_tag())
{ {
@ -699,7 +699,7 @@ namespace boost
~unordered_multimap() {} ~unordered_multimap() {}
#if defined(BOOST_HAS_RVALUE_REFS) #if !defined(BOOST_NO_RVALUE_REFERENCES)
unordered_multimap(unordered_multimap&& other) unordered_multimap(unordered_multimap&& other)
: table_(other.table_, boost::unordered_detail::move_tag()) : table_(other.table_, boost::unordered_detail::move_tag())
{ {

View File

@ -19,7 +19,7 @@
#include <boost/unordered/detail/equivalent.hpp> #include <boost/unordered/detail/equivalent.hpp>
#include <boost/unordered/detail/unique.hpp> #include <boost/unordered/detail/unique.hpp>
#if !defined(BOOST_HAS_RVALUE_REFS) #if defined(BOOST_NO_RVALUE_REFERENCES)
#include <boost/unordered/detail/move.hpp> #include <boost/unordered/detail/move.hpp>
#endif #endif
@ -153,7 +153,7 @@ namespace boost
~unordered_set() {} ~unordered_set() {}
#if defined(BOOST_HAS_RVALUE_REFS) #if !defined(BOOST_NO_RVALUE_REFERENCES)
unordered_set(unordered_set&& other) unordered_set(unordered_set&& other)
: table_(other.table_, boost::unordered_detail::move_tag()) : table_(other.table_, boost::unordered_detail::move_tag())
{ {
@ -645,7 +645,7 @@ namespace boost
~unordered_multiset() {} ~unordered_multiset() {}
#if defined(BOOST_HAS_RVALUE_REFS) #if !defined(BOOST_NO_RVALUE_REFERENCES)
unordered_multiset(unordered_multiset&& other) unordered_multiset(unordered_multiset&& other)
: table_(other.table_, boost::unordered_detail::move_tag()) : table_(other.table_, boost::unordered_detail::move_tag())
{ {