Changes in / [e9c677:124e14]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/helpers.hpp
re9c677 r124e14 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.