Andrei Kapustin
-
2008-08-07
- assigned_to: nobody --> akapusti
Currently there are "Int8 Math::min(Int8, Int8)", "Int16 Math::min(Int16, Int16)", etc. methods (same for "Math::min"). These should be collapsed into template methods "template <class T> T Math::min(const T &, const T &)" and "template <class T> T Math::max(const T &, const T &)", with the documentation comment stating that "T" must implement operator "<=".