forked from boostorg/iterator
merge new MPL version from 'mplbook' branch
[SVN r24874]
This commit is contained in:
committed by
Peter Dimov
parent
ac7b14253f
commit
123bf514ac
@ -10,7 +10,7 @@
|
|||||||
# include <boost/detail/is_incrementable.hpp>
|
# include <boost/detail/is_incrementable.hpp>
|
||||||
# include <boost/iterator/iterator_traits.hpp>
|
# include <boost/iterator/iterator_traits.hpp>
|
||||||
# include <boost/type_traits/remove_cv.hpp>
|
# include <boost/type_traits/remove_cv.hpp>
|
||||||
# include <boost/mpl/apply_if.hpp>
|
# include <boost/mpl/eval_if.hpp>
|
||||||
# include <boost/pointee.hpp>
|
# include <boost/pointee.hpp>
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
@ -26,7 +26,7 @@ namespace detail
|
|||||||
|
|
||||||
template <class P>
|
template <class P>
|
||||||
struct indirect_reference
|
struct indirect_reference
|
||||||
: mpl::apply_if<
|
: mpl::eval_if<
|
||||||
detail::is_incrementable<P>
|
detail::is_incrementable<P>
|
||||||
, iterator_reference<P>
|
, iterator_reference<P>
|
||||||
, detail::smart_ptr_reference<P>
|
, detail::smart_ptr_reference<P>
|
||||||
|
Reference in New Issue
Block a user