mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
19 lines
272 B
Plaintext
19 lines
272 B
Plaintext
#ifndef LIBAXX_ALGORITHM
|
|
#define LIBAXX_ALGORITHM
|
|
|
|
namespace std {
|
|
|
|
template<class T>
|
|
inline const T & min(const T & a, const T & b ) {
|
|
return (b < a) ? b : a;
|
|
}
|
|
|
|
template<class T>
|
|
inline const T & max(const T & a, const T & b ) {
|
|
return (b > a) ? b : a;
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|