Re: header file help......
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Tue, 03 Jul 2007 13:39:05 -0400
True; in most systems I work in, the use of the pointer means that methods or most
importantly virtual methods of the class will be called, and therefore the header is
needed anyway.
joe
On Tue, 03 Jul 2007 09:35:21 -0500, David Wilkinson <no-reply@xxxxxxxxxxxx> wrote:
Joseph M. Newcomer wrote:Joseph M. Newcomer [MVP]
Compilation time is an irrelevant consideration in the presence of #pragma once.
Therefore, it should never enter the discussion at all.
Joe:
#pragma once only prevents multiple inclusion in the same translation
unit. When you include headers in headers, changing the included header
can result in the recompilation of many translation units, perhaps
including some that do not need the header at all.
For large projects this can indeed substantially (and unnecessarily)
increase build times.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- header file help......
- From: raju2000myin
- Re: header file help......
- From: David Wilkinson
- Re: header file help......
- From: Joseph M . Newcomer
- Re: header file help......
- From: David Wilkinson
- header file help......
- Prev by Date: Re: Reading HTML params in ActiveX
- Next by Date: Re: WaitForSingleObject() will not deadlock
- Previous by thread: Re: header file help......
- Next by thread: Re: header file help......
- Index(es):
Relevant Pages
|