Article View: comp.std.c++
Article #2617Re: When must an implictly defined assigment operator be generated
From: Dick Menninger
Date: Sat, 18 Nov 1995 02:54
Date: Sat, 18 Nov 1995 02:54
28 lines
1877 bytes
1877 bytes
[code and explanation deleted] The confusion seems to be over HOW a compiler must behave when the program is ill-formed. If (and only if) it is a diagnosable error, the compiler must issue at least one diagnostic message (1.7/1&2). The question that started this thread was focused on the classes involved. Generally, when those are processed, there is not enough information to diagnose the program as ill-formed. Rather, the stage is merely set for possible styles of ill-formed-ness that can result. When the use is processed, the compiler now has a diagnosable case of ill-formed-ness and it must emit an error message. That error message is, inevitably, associated with the use. This is THE appropriate piece of code to finger, though the error message will establish the properties of the context that make the use ill-formed. Good Day Dick Dick.Menninger@DaytonOH.ATTGIS.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:
<DI3p47.B7C@falcon.daytonoh.attgis.com>Path:
arc1-ca.pugleaf.net!in2.uu.net!bounce-backReferences:
<4842pv$1hq@oznet07.ozemail.com.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back Date: 18 Nov 95 02:54:52 GMT Approved: fjh@cs.mu.oz.au Newsgroups: comp.std.c++ From: Dick Menninger <Dick.Menninger@daytonoh.attgis.com> Subject: Re: When must an implictly defined assigment operator be generated Message-ID: <DI3p47.B7C@falcon.daytonoh.attgis.com> Reply-To: mennid <Dick.Menninger@daytonoh.attgis.com> Organization: AT&T Global Information Solutions X-Newsreader: DiscussIT 2.5.1.3 for MS Windows [AT&T Software Products Division] References: <4842pv$1hq@oznet07.ozemail.com.au> X-Original-Date: Wed, 15 Nov 1995 20:04:55 GMT X-Auth: PGPMoose V1.1 PGP comp.std.c++ iQBFAgUBMK1LCeEDnX0m9pzZAQEDAAF+II1bfdh1hXfoNZWSRYuw7ytQwWZn+6lJ 5vOHwQtSp9vKP3J5smC3MZ8HwtAzCdNO =QYqu