Boost logo

Boost :

Subject: Re: [boost] "Simple C++11 metaprogramming"
From: Peter Dimov (lists_at_[hidden])
Date: 2015-07-16 14:02:49


Robert Ramey wrote:
> > http://pdimov.com/cpp2/simple_cxx11_metaprogramming.html
>
> This to me is incredible. I worthy successor to Abraham's and Gurtovoy's
> MPL book. Clearly C++/11 is going to turnout to be a major game changer
> with repercussions beyond what we can imagine now.

Thank you for the kind words.

> But I had a really dumb question. The examples use mp_if< But I couldn't
> find the definition of mp_if anywhere. The document looks self
> contained - what am I missing here?

It's not a dumb question at all - this is an oversight on my part. I updated
the second article with the definition of mp_if. Thanks for catching it.


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