diff --git a/include/boost/iostreams/detail/is_iterator_range.hpp b/include/boost/iostreams/detail/is_iterator_range.hpp index 32e1e32..5b5748d 100755 --- a/include/boost/iostreams/detail/is_iterator_range.hpp +++ b/include/boost/iostreams/detail/is_iterator_range.hpp @@ -7,40 +7,13 @@ #ifndef BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED #define BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED -#include // partial spec. #include -#include // iterator_value. #include -//#ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION //---------------------------// -// -//namespace boost { namespace iostreams { -// -//template -//struct is_iterator_range : mpl::false_ { }; -// -//template -//struct is_iterator_range< iterator_range > -// : mpl::true_ -// { }; -// -//} } // End namespaces iostreams, boost. -// -//#else // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION //--------------------------// - -// We could make this exactly equivalent to the implementation using partial -// specialization by adding a test for the condition: -// -// is_same< T, iterator_range::type> > -// -// Currently it does not seem to be worth the trouble. - namespace boost { namespace iostreams { BOOST_IOSTREAMS_BOOL_TRAIT_DEF(is_iterator_range, boost::iterator_range, 1) } } // End namespaces iostreams, boost. -//#endif // BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION //-------------------------// - #endif // #ifndef BOOST_IOSTREAMS_DETAIL_IS_ITERATOR_RANGE_HPP_INCLUDED