You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once
|
|
|
|
template <typename T>
|
|
const T& Min(const T& a, const T& b) {
|
|
if (a < b) return a;
|
|
|
|
return b;
|
|
}
|
|
|
|
template <typename T>
|
|
const T& Max(const T& a, const T& b) {
|
|
if (a > b) return a;
|
|
|
|
return b;
|
|
}
|