Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 #ifndef BOOST_MPL_AUX_PTR_TO_REF_HPP_INCLUDED
3 #define BOOST_MPL_AUX_PTR_TO_REF_HPP_INCLUDED
5 // Copyright Aleksey Gurtovoy 2003-2004
7 // Distributed under the Boost Software License, Version 1.0.
8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 // See http://www.boost.org/libs/mpl for documentation.
13 // $Source: /cvsroot/boost/boost/boost/mpl/aux_/ptr_to_ref.hpp,v $
14 // $Date: 2005/06/22 15:20:18 $
17 #include <boost/mpl/aux_/static_cast.hpp>
18 #include <boost/mpl/aux_/config/msvc.hpp>
19 #include <boost/mpl/aux_/config/workaround.hpp>
22 #if BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
23 || ( BOOST_WORKAROUND(__EDG_VERSION__, <= 245) \
24 && !(defined(__STD_STRICT_ANSI) \
25 || defined(__STD_STRICT_ANSI_ERRORS)) )
27 # define BOOST_MPL_AUX_PTR_TO_REF(X) \
28 *BOOST_MPL_AUX_STATIC_CAST(X*, 0) \
33 # define BOOST_MPL_AUX_PTR_TO_REF(X) \
34 aux::ptr_to_ref(BOOST_MPL_AUX_STATIC_CAST(X*, 0)) \
40 namespace boost { namespace mpl { namespace aux {
42 template< typename T > static T const& ptr_to_ref(T*);
46 #endif // BOOST_MPL_AUX_PTR_TO_REF_HPP_INCLUDED