cbp2make
Makefile generation tool for Code::Blocks IDE
Functions
std Namespace Reference

Namespace of C++ standard library. More...

Functions

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...
 

Detailed Description

Namespace of C++ standard library.

Function Documentation

◆ max()

template<typename T1 , typename T2 >
std::max ( T1 const &  a,
T2 const &  b 
)
inline

Returns maximal of two arguments.

Parameters
afirst argument.
bsecond 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
afirst argument.
bsecond argument.
Returns
minimal of two arguments, type of result is defined by the first argument.