Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 /* Copyright 2003-2005 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_PREVENT_ETI_HPP
10 #define BOOST_MULTI_INDEX_DETAIL_PREVENT_ETI_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>
19 #if BOOST_WORKAROUND(BOOST_MSVC,<1300)
20 #include <boost/mpl/if.hpp>
21 #include <boost/mpl/integral_c.hpp>
22 #include <boost/mpl/aux_/msvc_never_true.hpp>
27 namespace multi_index{
31 #if BOOST_WORKAROUND(BOOST_MSVC,<1300)
33 * http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl?Effective_MPL
34 * Item 5.6, Beware of the 'early template instantiation' trap.
37 template<typename Type,typename Construct>
40 typedef typename mpl::if_<
41 mpl::aux::msvc_never_true<Type>,
42 mpl::integral_c<int,0>,
47 template<typename Type,typename Construct>
50 typedef Construct type;
54 } /* namespace multi_index::detail */
56 } /* namespace multi_index */
58 } /* namespace boost */