Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Min_Max.h File Reference

`#include "ace/pre.h"`
`#include "ace/post.h"`

Include dependency graph for Min_Max.h:

This graph shows which files directly or indirectly include this file:

## Defines
#define | ACE_MIN(a,b) ace_min((a),(b))
#define | ACE_MAX(a,b) ace_max((a),(b))
#define | ACE_RANGE(a,b,c) ace_range((a),(b),(c))
## Functions
template<classT> const T& | ace_min (const T &t1, const T &t2)
template<classT> const T& | ace_max (const T &t1, const T &t2)
template<classT> const T& | ace_min (const T &t1, const T &t2, const T &t3)
template<classT> const T& | ace_max (const T &t1, const T &t2, const T &t3)
template<classT> const T& | ace_range (const T &min, const T &max, const T &val)

## Detailed Description

Min_Max.h,v 4.4 2000/11/01 22:16:42 coryan Exp

Define an appropriate set of min()/max() functions using templates.

Author(s):
  Derek Dominish <Derek.Dominish@Australia.Boeing.com>

## Define Documentation

#define ACE_MAX( | a, b ) ace_max((a),(b))

#define ACE_MIN( | a, b ) ace_min((a),(b))

#define ACE_RANGE( | a, b, c ) ace_range((a),(b),(c))

## Function Documentation

template<classT>
const T & ace_max ( | const T & t1,
| const T & t2,
| const T & t3 )`[inline]`

template<classT>
const T & ace_max ( | const T & t1,
| const T & t2 )`[inline]`

template<classT>
const T & ace_min ( | const T & t1,
| const T & t2,
| const T & t3 )`[inline]`

template<classT>
const T & ace_min ( | const T & t1,
| const T & t2 )`[inline]`

template<classT>
const T & ace_range ( | const T & min,
| const T & max,
| const T & val )`[inline]`