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-Thread: 103376,99e73f65ea2533b9 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!r35g2000prm.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: and then... (a curiosity) Date: Fri, 5 Sep 2008 08:59:34 -0700 (PDT) Organization: http://groups.google.com Message-ID: <356f7576-424b-454f-b738-7816836cf23c@r35g2000prm.googlegroups.com> References: <18b41828-bda4-4484-8884-ad62ce1c831d@f36g2000hsa.googlegroups.com> <57qdnfULQ9tzKCHVnZ2dnUVZ_tHinZ2d@comcast.com> <48bd0003$1@news.post.ch> <12prmxev8newf.lvc4m055okkb$.dlg@40tude.net> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1220630375 1870 127.0.0.1 (5 Sep 2008 15:59:35 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 5 Sep 2008 15:59:35 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r35g2000prm.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:1950 Date: 2008-09-05T08:59:34-07:00 List-Id: On Sep 5, 8:14 am, Hyman Rosen wrote: > By the way, C++ made the design mistake of allowing && and > || to be overloaded, whereupon they lose their short-circuit > behavior and become normal evaluate-both-operands functions. > Just awful. Hey, at least they haven't allowed the "if" and "while" keywords to be overloaded. Yet. Maybe they'll find a way to overload the curly braces too. -- Adam