Article View: comp.std.c++
Article #3163Re: Give operator. a chance
From: Steve Clamage
Date: Tue, 30 Jan 1996 16:31
Date: Tue, 30 Jan 1996 16:31
29 lines
1810 bytes
1810 bytes
In article AI0@falcon.daytonoh.attgis.com, Dick Menninger <Dick.Menninger@daytonoh.attgis.com> writes: >> ==========Fergus Henderson, 1/26/96========== > >Does the draft explicitly exclude what it does not require? >In this case, that means does the draft preclude compilers >from allowing this, possibly as an option? Or can compilers >provide more extensive capabilities, possibly with enabling >flags, than the draft specifies? The draft says that operator dot cannot be overloaded, meaning that a conforming compiler must diagnose a violation. Of course, compilers can and do operate in non-conforming modes, where they provide extensions appropriate for the platform, or extensions for any other reason. For a compiler to be certified, it probably needs to have a mode (set perhaps by command-line flags or dialog box options) where it follows the standard closely. Otherwise, test suites will report that the compiler accepts invalid code. --- Steve Clamage, stephen.clamage@eng.sun.com [ 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://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
Technical Details
Message-ID:
<4elfs6$ai1@engnews1.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamageReferences:
<DLyuzs.AI0@falcon.daytonoh.attgis.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage From: clamage@Eng.sun.com (Steve Clamage) Newsgroups: comp.std.c++ Subject: Re: Give operator. a chance Date: 30 Jan 1996 16:31:00 GMT Organization: Sun Microsystems Inc. Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <4elfs6$ai1@engnews1.Eng.Sun.COM> References: <DLyuzs.AI0@falcon.daytonoh.attgis.com> Reply-To: clamage@Eng.sun.com NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text X-Nntp-Posting-Host: taumet.eng.sun.com Content-Length: 1002 X-Lines: 25 Originator: clamage@taumet