Namespace of C++ standard library.
More...
|
template<typename T1 , typename T2 > |
T1 const & | min (T1 const &a, T2 const &b) |
| Returns minimal of two arguments. More...
|
|
template<typename T1 , typename T2 > |
T1 const & | max (T1 const &a, T2 const &b) |
| Returns maximal of two arguments. More...
|
|
Namespace of C++ standard library.
◆ max()
template<typename T1 , typename T2 >
std::max |
( |
T1 const & |
a, |
|
|
T2 const & |
b |
|
) |
| |
|
inline |
Returns maximal of two arguments.
- Parameters
-
a | first argument. |
b | second argument. |
- Returns
- maximal of two arguments, type of result is defined by the first argument.
◆ min()
template<typename T1 , typename T2 >
std::min |
( |
T1 const & |
a, |
|
|
T2 const & |
b |
|
) |
| |
|
inline |
Returns minimal of two arguments.
- Parameters
-
a | first argument. |
b | second argument. |
- Returns
- minimal of two arguments, type of result is defined by the first argument.