forked from M-Labs/nac3
13 lines
218 B
C++
13 lines
218 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
|