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

An include file with the minimum 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 >
MIN (T x, T y)
 

Detailed Description

An include file with the minimum function (as template or macro).

Function Documentation

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

Minimum of X and Y.

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