forked from M-Labs/nac3
14 lines
219 B
C++
14 lines
219 B
C++
#pragma once
|
|
|
|
namespace
|
|
{
|
|
template <typename T> const T &max(const T &a, const T &b)
|
|
{
|
|
return a > b ? a : b;
|
|
}
|
|
|
|
template <typename T> const T &min(const T &a, const T &b)
|
|
{
|
|
return a > b ? b : a;
|
|
}
|
|
} // namespace
|