|
Boost : |
Subject: Re: [boost] Reimplementation of the MPL for C++11
From: Larry Evans (cppljevans_at_[hidden])
Date: 2013-10-20 08:04:47
On 10/20/13 06:23, Larry Evans wrote:
[snip]
> Christopher Schmidt used the preprocessor to implement
> a variadic fusion using the help of the preprocessor to lessen
> compile times but, IIUC, he used some method (I'll call it
> "chunking") so that the preprocessor didn't have arbitrary
> limits:
>
> http://lists.boost.org/Archives/boost/2012/03/191091.php
>
> NOTE: I tried the link in that post to Christopher's code
> and it no longer works :( However, I'm sure Christopher
> (if you can find his email address) would be able to
> supply an update location for the code. You might could
> use the chunking method to minimize the compile times.
>
The code here:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/sandbox/slim/
might be helpful. It was based on Chrisopher's code but had
to be modified slightly as mentioned in the post:
http://comments.gmane.org/gmane.comp.compilers.clang.devel/24145
which also mentions the slow compile times when not using the
preprocessor.
-regards,
Larry
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk