diff options
Diffstat (limited to 'boost/pending/detail/int_iterator.hpp')
-rw-r--r-- | boost/pending/detail/int_iterator.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/boost/pending/detail/int_iterator.hpp b/boost/pending/detail/int_iterator.hpp index e3bae34ce7..ca8372bf9d 100644 --- a/boost/pending/detail/int_iterator.hpp +++ b/boost/pending/detail/int_iterator.hpp @@ -15,6 +15,7 @@ #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE namespace boost { +namespace iterators { #endif // this should use random_access_iterator_helper but I've had @@ -61,13 +62,19 @@ inline int_iterator<IntT> operator+(IntT n, int_iterator<IntT> t) { t += n; return t; } #ifndef BOOST_NO_OPERATORS_IN_NAMESPACE +} /* namespace iterators */ + +using iterators::int_iterator; + } /* namespace boost */ #endif #ifdef BOOST_NO_OPERATORS_IN_NAMESPACE namespace boost { - using ::int_iterator; -} +using ::int_iterator; +namespace iterators { +using ::int_iterator; +}} #endif |