Apply patch for [CVE-2012-2677][boost] ordered_malloc() overflow
[external/boost.git] / boost / tr1 / unordered_set.hpp
1 //  (C) Copyright John Maddock 2008.
2 //  Use, modification and distribution are subject to the
3 //  Boost Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6 #ifndef BOOST_TR1_UNORDERED_SET_HPP_INCLUDED
7 #  define BOOST_TR1_UNORDERED_SET_HPP_INCLUDED
8 #  include <boost/tr1/detail/config.hpp>
9
10 #ifdef BOOST_HAS_TR1_UNORDERED_SET
11
12 #  if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT)
13 #     include_next BOOST_TR1_HEADER(unordered_set)
14 #  else
15 #     include <boost/tr1/detail/config_all.hpp>
16 #     include BOOST_TR1_STD_HEADER(BOOST_TR1_PATH(unordered_set))
17 #  endif
18
19 #else
20
21 #include <boost/unordered_set.hpp>
22
23 namespace std{ namespace tr1{
24
25    using ::boost::unordered_set;
26    using ::boost::unordered_multiset;
27    using ::boost::swap;
28
29 } } // namespaces
30
31 #endif
32
33 #endif