[range] Make iterator of 'indexed' adaptor default-constructible (refs #7827).

[SVN r84617]
This commit is contained in:
Nathan Ridge
2013-06-03 09:00:46 +00:00
parent 1c18f42e83
commit c908e04144
3 changed files with 33 additions and 0 deletions

3
include/boost/range/adaptor/indexed.hpp Executable file → Normal file
View File

@ -55,6 +55,9 @@ namespace boost
index_type m_index;
public:
indexed_iterator()
: m_index(index_type()) {}
explicit indexed_iterator( Iter i, index_type index )
: base(i), m_index(index)
{