$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Andy Little (andy_at_[hidden])
Date: 2006-06-26 08:34:22
"Martin Bonner" wrote
> The solution is to wrap the function name in parens, so what you would
> write is:
>
> return (numeric_limits<double::max)();
>
> That means the preprocessore sees "max" and ")", and doesn't try to
> expand the macro.
Doesnt work for this scenario though:
#include <windows.h>
struct my{
typedef int min;
};
int main()
{
int n = my::min();
}
regards
Andy Little