Subject: Re: [boost] [type_erasure] Compilation time
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-06-09 18:25:49
On 06/09/2013 01:50 PM, Felipe Magno de Almeida wrote:
> Hello Steven,
> Is there anyway to not include some definitions in header to delay
> instantiation for use with explicit template instantiations in specific
> translation units with type_erasure?
No not really. You could theoretically split off
the instantiations of /concept/<T>::apply, but I don't
know how much that would help.
> I have a CORBA library which uses type_erasure for each interface defined
> in IDL. The problem is that if I include too many #include's for the
> precompiled headers which use type_erasure, then the compiler ends up
> consuming too much memory (>10GB), which makes it unfit for 32bit compilers
> which can use at most 3GB.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk