--- Gennaro Prota <[EMAIL PROTECTED]> wrote:
 
> For Borland [...]
> 
> // There seems to be no way to make Borland honor 5p5
> // when evaluating the controlling expression of a #if,
> // but it supports sizeof expressions therein.
> //
> #define BOOST_WORKAROUND(symbol, test)   \
>             ((symbol != 0) &&            \
>         (1 != sizeof(char[((symbol) test) == -1 ? 0 : 1 + ((symbol) test)])))
> 

Or just

#define BOOST_WORKAROUND(symbol, test)   \
            ((symbol != 0) && (1 != sizeof(char[1 + ((symbol) test)]) ))

of course :-)

Genny.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to