InnerIterator cannot be assigned, copy- or default-constructed
Submitted by Clemens Hofreither
Assigned to Nobody
Link to original bugzilla bug (#557)
Description
InnerIterator doesn't have a default constructor, a copy constructor and an assigment operator. Usually, C++ would generate the last two by itself, but it can't because the class has non-static const members.
This precludes the following use cases:
*) arrays of InnerIterators: doesn't work, no default constructor
*) std::vectors of InnerIterators: doesn't work, no assignment operator
The simplest workaround is probably to provide a default constructor and make its members non-const so that C++ can generate the other two methods.