|
Boost : |
Subject: Re: [boost] Formal Review Request: TypeErasure
From: Larry Evans (cppljevans_at_[hidden])
Date: 2012-06-16 10:30:54
On 06/15/12 21:19, Daniel Larimer wrote:
[snip]
>
> Clearly type erasure has value or we wouldn't be using
> boost::function, boost::any, void*, or any number of other
> techniques to erase types. It is also particularly useful for
> migrating from heavily templated code to non-templated
> implementations.
>
Spirit programs take a long time to compile because they are
heavily templated:
http://article.gmane.org/gmane.comp.parsers.spirit.devel/3746
http://article.gmane.org/gmane.comp.parsers.spirit.general/23421
could type_erasure be used to speed up the compile time (with,
I assume, some slow down in run-time)?
[snip]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk