From: Andrey Semashev (andysem_at_[hidden])
Date: 2007-06-20 16:10:35
Mathias Gaunard wrote:
> Ion Gaztañaga wrote:
>> I'm maybe too ignorant on this issue (forgive me if I'm
>> shooting my foot) but compile time generation creates a lot of new types
>> that lead also to more typeinfo and other stuff to be linked to the program.
> AFAIK, creating new types doesn't add any data to the executable (except
> debugging info eventually) unless the type has static members (const
> integral ones don't count) or is polymorphic.
Type info is always emitted for a type, if not disabled completely or
optimized away by compiler.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk