Fixed construction to not restrict usage of iterators, that are not

default constructible


[SVN r23497]
This commit is contained in:
Pavol Droba
2004-07-13 15:14:35 +00:00
parent 4185e3fb31
commit 06474a276d

View File

@ -72,12 +72,9 @@ namespace boost {
typedef IteratorT const_iterator;
//! iterator type
typedef IteratorT iterator;
//! Default constructor
iterator_range() : m_Begin(), m_End() {}
//! Constructor from a pair of iterators
iterator_range( iterator Begin, iterator End ) :
iterator_range( iterator Begin=iterator(), iterator End=iterator() ) :
m_Begin(Begin), m_End(End) {}
//! Constructor from a std::pair