Changeset 391:ddf25b2fa6ab in lemon-0.x
- Timestamp:
- 04/24/04 15:24:42 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@522
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/maps.h
r389 r391 101 101 } 102 102 ConstReferenceType operator[](const Key &k) const { 103 //marci jav typename parent::iterator i = lower_bound(__k);104 103 typename parent::iterator i = lower_bound(k); 105 if (i == end() ||key_comp()(k, (*i).first))104 if (i == parent::end() || parent::key_comp()(k, (*i).first)) 106 105 return v; 107 106 return (*i).second;
Note: See TracChangeset
for help on using the changeset viewer.