Boost logo

Boost :

From: JOAQUIN LOPEZ MU?Z (joaquin_at_[hidden])
Date: 2004-09-02 13:40:57


----- Mensaje original -----
De: Eric Niebler <eric_at_[hidden]>
Fecha: Jueves, Septiembre 2, 2004 8:11 pm
Asunto: [boost] Re: [1.32 Release] MPL has been merged into the main
trunk

>
>
> Jonathan Turkanis wrote:
>
> > "Eric Niebler" <eric_at_[hidden]> wrote in message
> > news:41374F88.9010100_at_boost-consulting.com...
> >
> >>Aleksey Gurtovoy wrote:
> >>
> >>>Everything has been tested locally, so the disturbance should
> be minimal.
> >>>I'll post a detailed changelog later today. Metacomm
> regressions have
> >>>been restored to run against the main trunk.
> >>>
> >>
> >>Yikes! Where did apply_if go? The docs still talk about
> apply_if. Is its
> >>absence an oversight or by-design?
> >
> >
> > Can I assume it's now 'eval_if'?
> >
> > If so, I like it better, since there's no temptation to confuse
> apply_if and
> > apply.
> >
> > Jonathan
> >
>
> Oh. How do I make my code work with old versions of MPL and new?
> There
> is no mpl/version.hpp or a macro I can test for conditional
> compilation
> AFAICT. I'll have to avoid both mpl::apply_if and mpl::eval_if and
> roll
> my own. :-(

I think you can use BOOST_VERSION in boost/version.hpp
for this purpose.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk