Changes in src/helpers.hpp [9dbea5:76102e]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/helpers.hpp
r9dbea5 r76102e 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.