home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!usc!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!umn.edu!csus.edu!netcom.com!ort
- From: ort@netcom.com (David Oertel)
- Subject: Re: Debugging output
- Message-ID: <1992Nov11.082434.16988@netcom.com>
- Summary: nested includes, when?
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <spuler.720931050@coral> <1992Nov9.112051.21350@netcom.com> <EB.92Nov10081925@ascent.ascent.com>
- Date: Wed, 11 Nov 1992 08:24:34 GMT
- Lines: 17
-
-
-
- > From: rmartin@thor.Rational.COM (Bob Martin)
- > So, take care when using #include in a header file. Always be sure
- > that you the #include is necessary, and that it cannot be replaced
- > with a forward declaration.
-
- I needed header file includes for defining base class interfaces but
- used forward references for everything else. Are there other
- situations where header file includes are necessary? Merely putting
- one dependent include file before another in the source file is
- considered equivalent to using a nested include in this question.
-
- Thanks in advance,
- ort@netcom.com
-
- --
-