Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 #ifndef INDIRECT_REFERENCE_DWA200415_HPP
2 # define INDIRECT_REFERENCE_DWA200415_HPP
5 // Copyright David Abrahams 2004. Use, modification and distribution is
6 // subject to the Boost Software License, Version 1.0. (See accompanying
7 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 // typename indirect_reference<P>::type provides the type of *p.
11 // http://www.boost.org/libs/iterator/doc/pointee.html
14 # include <boost/detail/is_incrementable.hpp>
15 # include <boost/iterator/iterator_traits.hpp>
16 # include <boost/type_traits/remove_cv.hpp>
17 # include <boost/mpl/eval_if.hpp>
18 # include <boost/pointee.hpp>
25 struct smart_ptr_reference
27 typedef typename boost::pointee<P>::type& type;
32 struct indirect_reference
34 detail::is_incrementable<P>
35 , iterator_reference<P>
36 , detail::smart_ptr_reference<P>
43 #endif // INDIRECT_REFERENCE_DWA200415_HPP