Boost logo

Boost :

Subject: Re: [boost] [type_erasure] Compilation time
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2013-06-10 08:57:23


On Sun, Jun 9, 2013 at 7:25 PM, Steven Watanabe <watanabesj_at_[hidden]>wrote:

> AMDG
>

Hi Steven,

> 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'm trying to use your template profile from
https://github.com/boost-vault/Tools. It
works with boost-build in boost 1.46.1, but not for >= 1.50.0. It seems the
action (gcc.)compile.c++.preprocess is not overriden then. I'm using the
same
bjam(from trunk) for both boost-builds.

> > 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.
> >
>
> In Christ,
> Steven Watanabe
>

Regards,

-- 
Felipe Magno de Almeida

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