Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 //-----------------------------------------------------------------------------
2 // boost variant/detail/substitute_fwd.hpp header file
3 // See http://www.boost.org for updates, documentation, and revision history.
4 //-----------------------------------------------------------------------------
9 // Distributed under the Boost Software License, Version 1.0. (See
10 // accompanying file LICENSE_1_0.txt or copy at
11 // http://www.boost.org/LICENSE_1_0.txt)
13 #ifndef BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP
14 #define BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP
16 #include "boost/mpl/aux_/lambda_arity_param.hpp"
17 #include "boost/mpl/aux_/template_arity.hpp"
18 #include "boost/mpl/int_fwd.hpp"
21 ///////////////////////////////////////////////////////////////////////////////
22 // BOOST_VARIANT_DETAIL_NO_SUBSTITUTE
24 // Defined if 'substitute' is not implementable on the current compiler.
27 #include "boost/mpl/aux_/config/ctps.hpp"
28 #include "boost/mpl/aux_/config/ttp.hpp"
30 #if defined(BOOST_NO_TEMPLATE_TEMPLATE_PARAMETERS) \
31 || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
32 && !defined(BOOST_VARIANT_DETAIL_NO_SUBSTITUTE)
33 # define BOOST_VARIANT_DETAIL_NO_SUBSTITUTE
37 namespace detail { namespace variant {
39 #if !defined(BOOST_VARIANT_DETAIL_NO_SUBSTITUTE)
41 ///////////////////////////////////////////////////////////////////////////////
42 // metafunction substitute
44 // Substitutes one type for another in the given type expression.
47 typename T, typename Dest, typename Source
48 BOOST_MPL_AUX_LAMBDA_ARITY_PARAM(
49 typename Arity = mpl::int_< mpl::aux::template_arity<T>::value >
54 #endif // !defined(BOOST_VARIANT_DETAIL_NO_SUBSTITUTE)
56 }} // namespace detail::variant
59 #endif // BOOST_VARIANT_DETAIL_SUBSTITUTE_FWD_HPP