DOpE
Enumerations
DOpE::IteratorState Namespace Reference

Enumerations

enum  IteratorStates { valid, past_the_end, before_the_beginning, invalid }
 

Enumeration Type Documentation

The four states an iterator can be in: valid, past-the-end, before-the-beginning and invalid.

Enumerator
valid 

Iterator points to a valid object.

past_the_end 

Iterator reached end of container.

before_the_beginning 
invalid 

Iterator is invalid, probably due to an error.