Changeset 1725:22752dd6c693 in lemon-0.x for lemon/graph_adaptor.h
- Timestamp:
- 10/14/05 13:00:40 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2252
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_adaptor.h
r1697 r1725 1527 1527 } 1528 1528 1529 typename ReferenceMapTraits<NodeImpl>::Reference1529 typename MapTraits<NodeImpl>::ReturnValue 1530 1530 operator[](const Node& key) { 1531 1531 if (key.entry) { return entry[key]; } … … 1533 1533 } 1534 1534 1535 T operator[](const Node& key) const { 1535 typename MapTraits<NodeImpl>::ConstReturnValue 1536 operator[](const Node& key) const { 1536 1537 if (key.entry) { return entry[key]; } 1537 1538 else { return exit[key]; } … … 1557 1558 } 1558 1559 1559 typename ReferenceMapTraits<EdgeImpl>::Reference1560 typename MapTraits<EdgeImpl>::ReturnValue 1560 1561 operator[](const Edge& key) { 1561 1562 if ((typename Parent::Edge&)key != INVALID) { return orig[key]; } … … 1563 1564 } 1564 1565 1565 T operator[](const Edge& key) const { 1566 typename MapTraits<EdgeImpl>::ConstReturnValue 1567 operator[](const Edge& key) const { 1566 1568 if ((typename Parent::Edge&)key != INVALID) { return orig[key]; } 1567 1569 else {return bind[key.bind]; }
Note: See TracChangeset
for help on using the changeset viewer.