X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Fiterator%2Fiterator_adaptor.hpp;h=9f2fbb0efef15d723abaed46d055a7a70419fc76;hb=c48091f33a773732fa6c789927e5833e44108d9d;hp=eabacde25a41fc0faded62ec839ef0f2673ebc8e;hpb=2349a51b124cafaf65ca673f8e7fd931f4ba4961;p=lyx.git diff --git a/boost/boost/iterator/iterator_adaptor.hpp b/boost/boost/iterator/iterator_adaptor.hpp index eabacde25a..9f2fbb0efe 100644 --- a/boost/boost/iterator/iterator_adaptor.hpp +++ b/boost/boost/iterator/iterator_adaptor.hpp @@ -24,10 +24,9 @@ #ifdef BOOST_ITERATOR_REF_CONSTNESS_KILLS_WRITABILITY # include -#else -# include -#endif +#endif +#include #include #include @@ -110,7 +109,7 @@ namespace boost is_same , is_convertible > - , detail::enable_type + , boost::detail::enable_type , int& >::type type; }; @@ -120,7 +119,7 @@ namespace boost template struct enable_if_convertible { - typedef detail::enable_type type; + typedef boost::detail::enable_type type; }; # elif BOOST_WORKAROUND(_MSC_FULL_VER, BOOST_TESTED_AT(13102292)) && BOOST_MSVC > 1300 @@ -134,7 +133,7 @@ namespace boost is_same , is_convertible > - , detail::enable_type + , boost::detail::enable_type > {}; @@ -144,7 +143,7 @@ namespace boost struct enable_if_convertible : iterators::enable_if< is_convertible - , detail::enable_type + , boost::detail::enable_type > {}; @@ -183,7 +182,7 @@ namespace boost Derived # ifdef BOOST_ITERATOR_REF_CONSTNESS_KILLS_WRITABILITY - , typename detail::ia_dflt_help< + , typename boost::detail::ia_dflt_help< Value , mpl::eval_if< is_same @@ -192,17 +191,17 @@ namespace boost > >::type # else - , typename detail::ia_dflt_help< + , typename boost::detail::ia_dflt_help< Value, iterator_value >::type # endif - , typename detail::ia_dflt_help< + , typename boost::detail::ia_dflt_help< Traversal , iterator_traversal >::type - , typename detail::ia_dflt_help< + , typename boost::detail::ia_dflt_help< Reference , mpl::eval_if< is_same @@ -211,7 +210,7 @@ namespace boost > >::type - , typename detail::ia_dflt_help< + , typename boost::detail::ia_dflt_help< Difference, iterator_difference >::type > @@ -260,14 +259,14 @@ namespace boost , class Difference = use_default > class iterator_adaptor - : public detail::iterator_adaptor_base< + : public boost::detail::iterator_adaptor_base< Derived, Base, Value, Traversal, Reference, Difference >::type { friend class iterator_core_access; protected: - typedef typename detail::iterator_adaptor_base< + typedef typename boost::detail::iterator_adaptor_base< Derived, Base, Value, Traversal, Reference, Difference >::type super_t; public: @@ -278,6 +277,8 @@ namespace boost { } + typedef Base base_type; + Base const& base() const { return m_iterator; } @@ -321,7 +322,7 @@ namespace boost >::type my_traversal; # define BOOST_ITERATOR_ADAPTOR_ASSERT_TRAVERSAL(cat) \ - detail::iterator_adaptor_assert_traversal(); + boost::detail::iterator_adaptor_assert_traversal(); void advance(typename super_t::difference_type n) {