
15 Oct
2008
15 Oct
'08
1:02 a.m.
On Tue, Oct 14, 2008 at 2:40 AM, Joel Falcou <joel.falcou@u-psud.fr> wrote:
Stefan Seefeld a écrit :
Mathias Gaunard a écrit :
I would say it's linking against the standard library that is a problem or not. Ideally, a good compiler should also be able to remove unused symbols at link-time, making that a non-issue.
Yes sorry of course. Seems in fact that it's linking with iostream that cause most of the problems.
IIRC, <iostream> is the only standard library header that costs something to include even if the translation unit doesn't actually use it. That's because of the standard stream objects, cin, cout, etc. --Beman