Article View: comp.std.c++
Article #3390Re: #ifdef XXXX
From: John R. Williams
Date: Wed, 21 Feb 1996 07:03
Date: Wed, 21 Feb 1996 07:03
26 lines
1805 bytes
1805 bytes
Yves Arrouye (arrouye@marin.fdn.fr) wrote:
> In article <4fukhs$fc3@hermes.acs.unt.edu> johnw@jove.acs.unt.edu
> (John R. Williams) writes:
> Personally I'll continue to advocate "#once" to prevent multiple
> So instead of adding yet another preprocessor directive, why not use
> Objective C's #import which does exactly that? (I know this is also a
> reason for *not* using it in order to make clear that the header file
> is a C++ one, but I don't tjink it will be sooo confusing).
I don't follow. How does adding #import rather than #once prevent another
directive from being added to the language?
--
class JohnWilliams : public Student, public Programmer {
public:
string operator&() const { return "johnw@jove.acs.unt.edu"; }
string homepage () const { return "http://www.unt.edu/~johnw"; }
};
---
[ To submit articles: try just posting with your news-reader.
If that fails, use mailto:std-c++@ncar.ucar.edu
FAQ: http://reality.sgi.com/employees/austern_mti/std-c++/faq.html
Policy: http://reality.sgi.com/employees/austern_mti/std-c++/policy.html
Comments? mailto:std-c++-request@ncar.ucar.edu.
]
Technical Details
Message-ID:
<4gd820$rc7@hermes.acs.unt.edu>Path:
arc1-ca.pugleaf.net!in1.uu.net!bounce-backReferences:
<1996Feb1.092058.4745@iiasa.ac.at> <9602020740.22411@mulga.cs.mu.OZ.AU> <ARROUYE.96Feb18152057@marin.fdn.fr>Show Full Headers
Complete Article Headers
From: johnw@jove.acs.unt.edu (John R. Williams) Message-ID: <4gd820$rc7@hermes.acs.unt.edu> X-Original-Date: 20 Feb 1996 19:39:44 GMT Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back Date: 21 Feb 96 07:03:14 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ Subject: Re: #ifdef XXXX Organization: University of North Texas References: <1996Feb1.092058.4745@iiasa.ac.at> <9602020740.22411@mulga.cs.mu.OZ.AU> <ARROUYE.96Feb18152057@marin.fdn.fr> X-Newsreader: TIN [version 1.2 PL2] X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMSrDv+EDnX0m9pzZAQGTfAF+PxLS8V6JjmYw8WWcmQOhqYJ7/GpAaDP6 5vxumJTrvrXShv0M3ZdtGBWwFHx7FTPt =vTJr