Menu

#41 Collapse Math::min and Math::max method sets

Version 2.0
closed
7
2012-11-01
2008-08-07
No

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 "<=".

Discussion

  • Andrei Kapustin

    Andrei Kapustin - 2008-08-07
    • assigned_to: nobody --> akapusti
     
  • Andrei Kapustin

    Andrei Kapustin - 2008-12-18
    • milestone: 597170 --> 556494
     
  • Andrei Kapustin

    Andrei Kapustin - 2012-11-01
    • milestone: 556494 --> Version 2.0
     
  • Andrei Kapustin

    Andrei Kapustin - 2012-11-01
    • status: open --> closed