
10 Apr
2009
10 Apr
'09
10:43 p.m.
On Fri, Apr 10, 2009 at 3:34 PM, Sid Sacek <ssacek@securewatch24.com> wrote:
My opinion is that the boost headers can happily contain the following code:
#ifndef __HEADER_FILE_GUARD__ #define __HEADER_FILE_GUARD__ #pragma once ... #endif
Strictly speaking, if we don't count the #pragma which can do anything at all, the code above contains exactly one standard line (the one with the #endif) since __HEADER_FILE_GUARD__ is illegal identifier in user code. :) But that aside, what are you trying to achieve with #pragma once? Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode