From: Arkadiy Vertleyb (vertleyb_at_[hidden])
Date: 2006-01-29 20:24:53


"Tobias Schwinger" <tschwinger_at_[hidden]> wrote

> While we're at it:
>
> This code (taken from boost/typeof/vector.hpp, line 106)
>
> BOOST_PP_IF(n, BOOST_PP_EMPTY(), class T = void)
>
> seems to contain a similar (but more subtle) problem.

Well, this is the exact place that caused my original question. This is my
attempt to fix it, obviously not the best one.

> BOOST_PP_EXPR_IIF(BOOST_PP_NOT(n), class T = void)

That's what I will use. Thanks for all the suggestions and clarifications.

Fixed in the main CVS.

Regards,
Arkadiy