Boost logo

Boost :

Subject: [boost] [type_erasure] Compilation time
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2013-06-09 16:50:31


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?

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.

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