This is Unofficial EPICS BASE Doxygen Site
tsMinMax.h File Reference

Go to the source code of this file.

Functions

template<class T >
const T & tsMax (const T &a, const T &b)
 
template<class T >
const T & tsMin (const T &a, const T &b)
 

Function Documentation

template<class T >
const T& tsMax ( const T &  a,
const T &  b 
)
inline

Definition at line 20 of file tsMinMax.h.

21 {
22  return ( a > b ) ? a : b;
23 }
template<class T >
const T& tsMin ( const T &  a,
const T &  b 
)
inline

Definition at line 26 of file tsMinMax.h.

27 {
28  return ( a < b ) ? a : b;
29 }