Boost logo

Boost :

From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2003-04-11 18:07:32


Paul Mensonides wrote:

> #define DEFAULT(x, def) \
> IIF( \
> IS_UNARY(x), \
> x,
> def \
> ) \
> /**/

Oops, the 'x' and 'def' are switched. It should be:

#define DEFAULT(x, def) IIF(IS_UNARY(x), def, x)

Paul Mensonides


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk