Changeset 1537:0d9f1a71be27 in lemon-0.x
- Timestamp:
- 07/04/05 19:16:05 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2029
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/maps.h
r1536 r1537 752 752 /// 753 753 ///For the sake of convenience it also works as 754 ///a ususal \ref concept::ReadMap "readable map", i.e755 /// <tt>operator[]</tt> and the \c Key and \c Value typedefs also exist.754 ///a ususal \ref concept::ReadMap "readable map", 755 ///i.e. <tt>operator[]</tt> and the \c Key and \c Value typedefs also exist. 756 756 757 757 template<class M> … … 772 772 773 773 ///Constructor 774 775 ///\e776 ///777 774 MapFunctor(const M &_m) : m(_m) {}; 778 775 ///Returns a value of the map 779 780 ///\e781 ///782 776 Value operator()(Key k) const {return m[k];} 783 777 ///\e 784 ///785 778 Value operator[](Key k) const {return m[k];} 786 779 }; … … 822 815 823 816 ///Constructor 824 825 ///\e826 ///827 817 ForkMap(const M1 &_m1,const M2 &_m2) : m1(_m1), m2(_m2) {}; 828 818 Value operator[](Key k) const {return m1[k];} … … 868 858 869 859 ///Constructor 870 871 ///\e872 ///873 860 NotMap(const M &_m) : m(_m) {}; 874 861 Value operator[](Key k) const {return !m[k];} -
lemon/smart_graph.h
r1457 r1537 368 368 ///Undo the changes until a snapshot created by save(). 369 369 /// 370 ///\param s an internal stucture given back by save()371 370 ///\note After you restored a state, you cannot restore 372 371 ///a later state, in other word you cannot add again the edges deleted
Note: See TracChangeset
for help on using the changeset viewer.