From b91aa431edf173002f55923f5d406f5768388522 Mon Sep 17 00:00:00 2001 From: levine Date: Thu, 15 Oct 1998 03:24:22 +0000 Subject: ack'ed Eric Newton on ifndef for header file protection --- docs/ACE-guidelines.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html index cfe40056943..707dafff283 100644 --- a/docs/ACE-guidelines.html +++ b/docs/ACE-guidelines.html @@ -163,9 +163,12 @@ bgcolor="#ffffff"> This exact construct (note the #ifndef) is optimized by many compilers such they only open the - file once per compilation unit. No code - can appear after the final #endif for the - optimization to be effective and correct.

+ file once per compilation unit. Thanks to Eric C. Newton + <ecn@smart.net> for pointing that out.

+ + No code can appear after the final + #endif for the optimization to be effective and + correct.

  • C++ Syntax and Constructs

    -- cgit v1.2.1