This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
<iosfwd> also standard for std::string declaration?
- From: landrum Alfred <alfred137 at yahoo dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 17 Jun 2003 14:23:15 -0700 (PDT)
- Subject: <iosfwd> also standard for std::string declaration?
I'm trying to reduce my compile times. I have several
headers that are including <string>, even though they
only need a declaration.
I noticed that <iosfwd> on my RH8 box includes
bits/stringfwd.h.
Does this imply that including <iosfwd> is a standard
way to get a forward declaration of std::string?
Thanks,
Alfred Landrum
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com