Article View: comp.std.c++
Article #3239Re: #ifdef XXXX
From: Fergus Henderson
Date: Sat, 03 Feb 1996 17:17
Date: Sat, 03 Feb 1996 17:17
19 lines
1412 bytes
1412 bytes
"Charles F. McDevitt" <Chuck.McDevitt@elsegundoca.attgis.com> writes: >Wouldn't it be better to update the C++ standard so the >default is that include files only get included once, and the >compiler/preprocessor keeps track of which ones it's already >seen. Then we wouldn't have to mess with these ugly #ifdefs >to make include files only be included once. The problem with that idea is that it is not backwards compatible, and would break a very large amount of existing code. -- Fergus Henderson WWW: http://www.cs.mu.oz.au/~fjh fjh@cs.mu.oz.au PGP: finger fjh@128.250.37.3 [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
Technical Details
Message-ID:
<4evpfd$a75@mulga.cs.mu.OZ.AU>Path:
arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamageReferences:
<1996Feb1.092058.4745@iiasa.ac.at> <3112531A.3410@ElSegundoCA.ATTGIS.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage From: fjh@munta.cs.mu.OZ.AU (Fergus Henderson) Newsgroups: comp.std.c++ Subject: Re: #ifdef XXXX Date: 3 Feb 1996 17:17:36 GMT Organization: Comp Sci, University of Melbourne Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <4evpfd$a75@mulga.cs.mu.OZ.AU> References: <1996Feb1.092058.4745@iiasa.ac.at> <3112531A.3410@ElSegundoCA.ATTGIS.COM> NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text X-Nntp-Posting-Host: munta.cs.mu.oz.au Content-Length: 610 Originator: clamage@taumet