Boost logo

Boost :

From: Martin Wille (mw8329_at_[hidden])
Date: 2006-03-22 04:52:36

Richard Corden wrote:

>>> return (std::numeric_limits<FPT>::max)();
> Can I ask what is the purpose of adding parenthesis to the qualified name?

It inhibits macro expansion.

> ADL should not take place for the qualified name? Do some compilers get
> this wrong?

Some environments still insist on #defining macros for min and max.

Send instant messages to your online friends

Boost list run by bdawes at, gregod at, cpdaniel at, john at