Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 /* Copyright 2003-2006 Joaquín M López Muñoz.
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
6 * See http://www.boost.org/libs/multi_index for library home page.
9 #ifndef BOOST_MULTI_INDEX_DETAIL_UNBOUNDED_HPP
10 #define BOOST_MULTI_INDEX_DETAIL_UNBOUNDED_HPP
12 #if defined(_MSC_VER)&&(_MSC_VER>=1200)
16 #include <boost/config.hpp> /* keep it first to prevent nasty warns in MSVC */
17 #include <boost/detail/workaround.hpp>
21 namespace multi_index{
23 /* dummy type and variable for use in ordered_index::range() */
27 struct unbounded_type{};
29 } /* namespace multi_index::detail */
33 #if BOOST_WORKAROUND(BOOST_MSVC,<1300)
34 /* The default branch actually works for MSVC 6.0, but seems like
35 * the const qualifier reduces the performance of ordered indices! This
36 * behavior is hard to explain and probably a test artifact, but it
37 * does not hurt to have the workaround anyway.
40 static detail::unbounded_type unbounded_obj=detail::unbounded_type();
41 static detail::unbounded_type& unbounded=unbounded_obj;
43 const detail::unbounded_type unbounded=detail::unbounded_type();
48 } /* namespace multi_index */
50 } /* namespace boost */