container<POD> refactoring

Nathan Myers ncm-nospam@cantrip.org
Mon Sep 20 18:48:00 GMT 2004


On Mon, Sep 20, 2004 at 01:28:00PM -0500, Gabriel Dos Reis wrote:
> Joe Buck <Joe.Buck@synopsys.COM> writes:
> 
> | Has anyone done any thinking about adding specializations for avoiding
> | bloat with containers of POD types?  For std::vector, it seems that all
> | of the out-of-line functions other than the == and < operators depend
> | only on the size of the POD, and nothing else.
> 
> I would say this is something best done at the linker level.
> User-codes may detect -- at program source level -- whether we
> specialize or not.

It was my impression that somebody (Jason?) had already done most
of the work for this.  Not so?

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list