BAM
Abstract Machine for Bottom-Up Evaluation with the Push Method
Functions
max.h File Reference

Maximum function (as template or macro). More...

#include "../base/ver.h"
#include "../base/check.h"

Go to the source code of this file.

Functions

template<class T >
MAX (T x, T y)
 

Detailed Description

Maximum function (as template or macro).

Function Documentation

template<class T >
T MAX ( x,
y 
)
inline

Maximum of X and Y.

This was a macro, but I converted it to an inline function template. It returns the larger of the two arguments.