///////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2006. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/intrusive for documentation. // ///////////////////////////////////////////////////////////////////////////// #ifndef BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP #define BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP #include #include #if (BOOST_VERSION < 103400) #ifndef BOOST_POINTER_TO_OTHER_HPP_INCLUDED #define BOOST_POINTER_TO_OTHER_HPP_INCLUDED namespace boost { template struct pointer_to_other; template class Sp> struct pointer_to_other< Sp, U > { typedef Sp type; }; template class Sp> struct pointer_to_other< Sp, U > { typedef Sp type; }; template class Sp> struct pointer_to_other< Sp, U > { typedef Sp type; }; template struct pointer_to_other< T*, U > { typedef U* type; }; } // namespace boost #endif #else #include #endif //#ifndef BOOST_POINTER_TO_OTHER_HPP_INCLUDED #include #endif //#ifndef BOOST_INTRUSIVE_POINTER_TO_OTHER_HPP