Boost logo

Boost :

Subject: Re: [boost] Interesting article on stack-based TMP
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2012-10-25 13:24:34


On 23-10-2012 18:05, Eric Niebler wrote:
> (dropping the boost-users list...)
>
> On 10/23/2012 7:27 AM, Thorsten Ottosen wrote:
>> On 23-10-2012 15:05, Larry Evans wrote:
>>> However, using variadic templates may cause a slowdown in the
>>> compile times. IIRC, a variadic template version of proto was
>>> developed but was abandoned in favor of using:
>>>
>>> http://www.boost.org/doc/libs/1_51_0/libs/preprocessor/doc/index.html
>>>
>>> because of large compile times.
>>
>> Hm.
>>
>> This is really sad if variadic templates can't be used for the thing
>> they were created for. Is this an inherent problem for large-scale use
>> of variadic templates?

I guess some of my confusion comes from reading

http://www.jot.fm/issues/issue_2008_02/article2.pdf

some time ago. I think this article is why I thought they
were a bonus for compilation time. It probably only affects the parsing
time.

-Thorsten


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