Boost logo

Boost :

Subject: Re: [boost] [MPL] Maintenance, patch applciation etc
From: Sergey Shandar (sergey.shandar_at_[hidden])
Date: 2011-01-04 06:05:17


Maxim Yanchenko <maximyanchenko <at> yandex.ru> writes:

> > Btw, that page doesn't have a Meta::if_ by Sergey Shandar, a device that can
> > simplify all if_/enable_if/lazy_enable_if enchilada. I remember there was a
> > discussion in the lists and the feedback was very positive but I can't find
> > it now.
>
> OK, found it, it's actually a 4-year-old trac ticket and the discussion is
> inside, with the final resolution "Let's get it in":
> https://svn.boost.org/trac/boost/ticket/799
>
> Thanks,
> Maxim

Hi all,

The latest version is here:
http://citylizard.codeplex.com/SourceControl/list/changesets. File
cpp/citylizard/meta/if.hpp.

Also, I used the same idea for a compile-time list (similar to
boost::mpl::vector). Syntax:

list::push_back<int>::push_back<char>::push_back<void>::type

Best regards,
Sergey Shandar.


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