Changeset 646
- Timestamp:
- Sep 13, 2006, 7:04:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/c++_tools/utility/stl_utility.h
r570 r646 78 78 79 79 /// 80 ///81 template <class T1,class T2>82 struct pointer_compare83 {84 ///85 /// @return true if x.second<y.second or (x.second==y.second and86 /// x.first<y.first)87 ///88 inline bool operator()(const std::pair<T1,T2>& x,89 const std::pair<T1,T2>& y) {90 return ((x.second<y.second) ||91 (!(y.second<x.second) && (x.first<y.first)));92 }93 };94 95 ///96 80 /// Function reading from istream to vector of doubles. Function 97 81 /// reads the line until next '\\n'. The line is splitted with
Note: See TracChangeset
for help on using the changeset viewer.