SymbolIterator: begin() method is missing
Status: Beta
Brought to you by:
spadix
When using SymbolIterator, if you want to use it as range iterator (c++11), begin() funtion is missing.
Just adding the following to the class, simply works:
const SymbolIterator begin() const { return(SymbolIterator(*this)); }
Suggestion: implement also, inside Image class a image.symbolIterator(), becasue calling always symbolBegin() can be missunderstud:
for (auto symbol : image.symbolIterator()) { symbol. }
instead of:
for (auto symbol : image.symbol_begin()) { symbol. }