Iterator for the keys mapped to true. It works like a graph item iterator, it can be converted to the key type of the map, incremented with ++ operator, and if the iterator leaves the last valid key, it will be equal to INVALID.
#include <lemon/maps.h>
Inherits Key.
Public Member Functions | |
| TrueIt (const IterableBoolMap &map) | |
| Creates an iterator. More... | |
| TrueIt (Invalid) | |
| Invalid constructor & conversion. More... | |
| TrueIt & | operator++ () |
| Increment operator. More... | |
|
inlineexplicit |
Creates an iterator. It iterates on the keys mapped to true.
| map | The IterableBoolMap. |
This constructor initializes the iterator to be invalid.
|
inline |
Increment operator.
1.8.5