forked from boostorg/range
[range] Make iterator of 'indexed' adaptor default-constructible (refs #7827).
[SVN r84617]
This commit is contained in:
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