Skip to content

Make VariableBlockVector::CreateIterator an actual STL output iterator

Oliver Sander requested to merge make-createiterator-an-output-iterator into master

The class VariableBlockVector::CreateIterator behaves basically like an STL output iterator, but it didn't quite implement the required interface. This patch adds the missing methods and extends the unit test.

The main benefit of this (besides interface beauty) is that you can now use std::fill etc. to set the block sizes of a VariableBlockVector.

Merge request reports

Loading