Boost logo

Boost Users :

Subject: Re: [Boost-users] [foreach] #define foreach BOOST_FOREACH
From: Michel Morin (mimomorin_at_[hidden])
Date: 2011-11-16 19:31:23


Rhys Ulerich wrote:
> I think the approach taken for isnan in the Description section of
> http://www.boost.org/doc/libs/1_47_0/libs/math/doc/sf_and_dist/html/math_toolkit/utils/fpclass.html
> may also work without introducing any incompatibilities.

Surrounding with parentheses (or using the BOOST_PREVENT_MACRO_SUBSTITUTION
macro) only works for problems with function-like macros.

Regards,
Michel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net