From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d2f0af5e440b367f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-03 07:50:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: proposal for new assignment operators Date: 03 Jul 2003 10:46:50 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <3EF9CD5F.6030608@cogeco.ca> <3doRhIgUmUYX@eisner.encompasserve.org> <3F038B77.2F2E41B7@adaworks.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1057243649 16975 128.183.235.92 (3 Jul 2003 14:47:29 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 3 Jul 2003 14:47:29 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:40026 Date: 2003-07-03T14:47:29+00:00 List-Id: Hyman Rosen writes: > Richard Riehle wrote: > > For limited types, assignment is never possible. Therefore, > > overloading assignment is not possible. > > That "therefore" doesn't actually follow. In C++, to make assignment > impossible, you declare a private assignment operator. Surely it would > be no problem to say that assignment may not be overloaded for limited > types. Hmm. The point is that assignment does not exist in the first place for limited types, therefore there is nothing to overload. -- -- Stephe