forked from boostorg/range
[range] Make iterator of 'indexed' adaptor default-constructible (refs #7827).
[SVN r84617]
This commit is contained in:
1 parent
1c18f42e83
commit
c908e04144
3 files changed
+33
No files matched your search
Executable → Regular
+3
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user