removed check from SignedInteger in InputIterator

[SVN r9723]
This commit is contained in:
Jeremy Siek
2001-04-05 16:51:56 +00:00
parent cf2b4b1ae0
commit e9531c7fbf

View File

@@ -455,7 +455,8 @@ struct require_same { typedef T type; };
// require iterator_traits typedef's // require iterator_traits typedef's
#ifndef BOOST_NO_STD_ITERATOR_TRAITS #ifndef BOOST_NO_STD_ITERATOR_TRAITS
typedef typename std::iterator_traits<TT>::difference_type D; typedef typename std::iterator_traits<TT>::difference_type D;
function_requires< SignedIntegerConcept<D> >(); // Hmm, this is a bit fragile
//function_requires< SignedIntegerConcept<D> >();
typedef typename std::iterator_traits<TT>::reference R; typedef typename std::iterator_traits<TT>::reference R;
typedef typename std::iterator_traits<TT>::pointer P; typedef typename std::iterator_traits<TT>::pointer P;
typedef typename std::iterator_traits<TT>::iterator_category C; typedef typename std::iterator_traits<TT>::iterator_category C;