diff --git a/include/boost/iterator_adaptors.hpp b/include/boost/iterator_adaptors.hpp index a93c842..3c0475e 100644 --- a/include/boost/iterator_adaptors.hpp +++ b/include/boost/iterator_adaptors.hpp @@ -578,19 +578,11 @@ template struct undefined; // Distance - the difference_type of the resulting iterator. If not // supplied, iterator_traits::difference_type is used. template ::value_type, - class Reference = BOOST_ARG_DEPENDENT_TYPENAME boost::detail::iterator_defaults::reference, - class Pointer = BOOST_ARG_DEPENDENT_TYPENAME boost::detail::iterator_defaults::pointer, - class Category = BOOST_ARG_DEPENDENT_TYPENAME boost::detail::iterator_traits::iterator_category, - class Distance = BOOST_ARG_DEPENDENT_TYPENAME boost::detail::iterator_traits::difference_type -#else class Value = detail::default_argument, class Reference = detail::default_argument, class Pointer = detail::default_argument, class Category = detail::default_argument, class Distance = detail::default_argument -#endif > struct iterator_adaptor : #ifdef BOOST_RELOPS_AMBIGUITY_BUG @@ -621,19 +613,15 @@ struct iterator_adaptor : || boost::is_convertible::value)); // Iterators should satisfy one of the known categories -#if 0 BOOST_STATIC_ASSERT(is_input_or_output_iter); -#endif // Iterators >= ForwardIterator must produce real references. -#if 0 BOOST_STATIC_CONSTANT(bool, forward_iter_with_real_reference = (!boost::is_convertible::value || boost::is_same::value || boost::is_same::value)); BOOST_STATIC_ASSERT(forward_iter_with_real_reference); -#endif public: iterator_adaptor() { }