Boost logo

Boost Users :

Subject: Re: [Boost-users] Starting...
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-08-18 19:34:26


On 8/18/2011 4:10 PM, Giordano Bruno wrote:
> Hi people, I want to use boost_pp in my embedded systems development
> using avr-gcc (C language). I was trying to understand how boostpp
> works, but it looks fuzzy to me.
>
> Can you explain me what is this "0" in the line 40 from
> preprocessor/comparison/less.hpp:
>
> define BOOST_PP_LESS_D(d, x, y) BOOST_PP_IIF(BOOST_PP_NOT_EQUAL(x, y),
> BOOST_PP_LESS_EQUAL_D, 0 BOOST_PP_TUPLE_EAT_3)(d, x, y)

The '0" means it returns 0 if the result of the BOOST_PP_NOT_EQUAL(x, y)
is not true.


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