Changeset a922f3 for molecuilder/src/helpers.hpp
- Timestamp:
- Jan 14, 2010, 5:46:24 PM (16 years ago)
- Children:
- 591f15
- Parents:
- a34fab (diff), 1ec554 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/helpers.hpp
ra34fab ra922f3 81 81 * \return greater of the two (by operator>()) 82 82 */ 83 template <typename T> T Max(T &x, T &y)83 template <typename T> T Max(T x, T y) 84 84 { 85 85 if (x > y) … … 93 93 * \return smaller of the two (by operator<()) 94 94 */ 95 template <typename T> T Min(T &x, T &y)95 template <typename T> T Min(T x, T y) 96 96 { 97 97 if (x < y)
Note:
See TracChangeset
for help on using the changeset viewer.