Subject: Re: [boost] What to do with platform defining 'null' as preprocessor symbol?
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2012-08-23 13:12:17
> Boost doesn't avoid "min" and "max" but encloses them in parentheses to prevent preprocessor expansion.
> "null" could be treated similarly, though some may prefer to choose a different identifier.
Parentheses defend against function-like macros, but not against object-like macros.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk