Article View: comp.std.c++
Article #1074Re: "module" facility for top-level namespace control
From: Andreas Krey
Date: Mon, 06 May 1991 08:51
Date: Mon, 06 May 1991 08:51
29 lines
1367 bytes
1367 bytes
In article <ROBERTK.91May3145741@lotatg.lotus.com>, robertk@lotatg.lotus.com (Robert Krajewski) writes:
|> In article <1991May1.192611.20568@kestrel.edu> gyro@kestrel.edu (Scott Layson Burson) writes:
|>
|> From: gyro@kestrel.edu (Scott Layson Burson)
|> >>extern NIH {
|> >>#include <NIHCL.h>
|> >>};
|>
|> ...
|>
|> Oops -- Jerry Schwarz (jss@kpc.com) has corrected me -- the construct
|> is rendered unambiguous by the `{'. So this objection is invalid.
|>
|> What about this one ?
|>
|> #define NIH "C"
And, by the way, what about:
#define class struct
#define private public
#define protected public
#include <anyclass.h>
With the cpp you can wreak everything.
And dont name a variable/class 'sun3' if you are on one.
--
Andy
Technical Details
Message-ID:
<1991May6.085117.23508@ira.uka.de>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!!kreyReferences:
<RAEBURN.91Apr26165646@watch.mit.edu> <1991Apr29.174033.29627@alias.com> <ROBERTK.91May3145741@lotatg.lotus.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c++ Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!!krey From: krey@ira.uka.de (Andreas Krey) Subject: Re: "module" facility for top-level namespace control Message-ID: <1991May6.085117.23508@ira.uka.de> Sender: krey@i30fs1 (Andreas Krey) Organization: University of Karlsruhe, FRG References: <RAEBURN.91Apr26165646@watch.mit.edu> <1991Apr29.174033.29627@alias.com> <ROBERTK.91May3145741@lotatg.lotus.com> Distribution: comp.std.c++ Date: Mon, 6 May 1991 08:51:17 GMT Lines: 29