Subject: Re: [boost] [#pragma once]
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-04-10 18:43:13
On Fri, Apr 10, 2009 at 3:34 PM, Sid Sacek <ssacek_at_[hidden]> wrote:
> My opinion is that the boost headers can happily contain the following
> #ifndef __HEADER_FILE_GUARD__
> #define __HEADER_FILE_GUARD__
> #pragma once
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?
Reverge Studios, Inc.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk