This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: GCC-3 additions - related question
- To: cygwin-apps at cygwin dot com
- Subject: Re: GCC-3 additions - related question
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Tue, 16 Oct 2001 06:26:00 +1000 (EST)
> Another reservation was the observation in earlier gccs that using
> templates bloats the size of the executable/dll drastically. Is that
> still true?
>
> Corinna
>
If you talking about bringing in STL and templated iostreams, yes.
If you are talling about simple template classes that get used over and
over, the size overhead is not a big problem. Also, when building libs as
dlls, this forces closure of template classes so that duplicate instances
are merged.
The only way to find out is to try it. (Yeah, right, I'll whip that up
right away, boss)
I haven't tested 3.x with templates that much.
Danny
Danny
http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.