Changeset 2112:f27dfd29c5c0 in lemon-0.x
- Timestamp:
- 06/28/06 17:28:38 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2818
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/iterable_maps.h
r2031 r2112 127 127 /// 128 128 /// Constructor of the Map with a default value. 129 IterableBoolMap(const Graph& _graph, bool def = false)129 explicit IterableBoolMap(const Graph& _graph, bool def = false) 130 130 : Parent(_graph), graph(_graph) { 131 131 for (KeyIt it(graph); it != INVALID; ++it) { … … 204 204 /// keys which mapped to true. 205 205 /// \param _map The IterableIntMap 206 TrueIt(const IterableBoolMap& _map)206 explicit TrueIt(const IterableBoolMap& _map) 207 207 : Parent(_map.sep > 0 ? _map.array[_map.sep - 1] : INVALID), 208 208 map(&_map) {} … … 244 244 /// keys which mapped to false. 245 245 /// \param _map The IterableIntMap 246 FalseIt(const IterableBoolMap& _map)246 explicit FalseIt(const IterableBoolMap& _map) 247 247 : Parent(_map.sep < (int)_map.array.size() ? 248 248 _map.array.back() : INVALID), map(&_map) {}
Note: See TracChangeset
for help on using the changeset viewer.