13 lines
179 B
Plaintext
13 lines
179 B
Plaintext
|
|
template<T> |T| greater(|T| a, |T| b) {
|
|
if (a > b)
|
|
return a;
|
|
return b;
|
|
}
|
|
|
|
template<T> |T| lesser(|T| a, |T| b) {
|
|
if (a > b)
|
|
return b;
|
|
return a;
|
|
}
|