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,ab1d177a5a26577d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Received: by 10.68.21.229 with SMTP id y5mr3573979pbe.1.1317907191403; Thu, 06 Oct 2011 06:19:51 -0700 (PDT) Path: lh7ni12820pbb.0!nntp.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 06 Oct 2011 08:19:51 -0500 From: "Peter C. Chapin" Subject: Re: What's wrong with C++? Newsgroups: comp.lang.ada References: <1ee1a434-4048-48f6-9f5e-d8126bebb808@r19g2000prm.googlegroups.com> User-Agent: Pan/0.133 (House of Butterflies) MIME-Version: 1.0 Message-ID: Date: Thu, 06 Oct 2011 08:19:51 -0500 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-vmXtpEjYSOw6ETaCANZ+uF08f/ijOc2xp1AnUjV5Vw8DzYp4xCzJ1nFxdI3ZkzybiuVNZ1KLEIL4uV8!lBrRSuA2c2q9G1zuGIe+aoo6EHDy/jP1h3vXhLlaT9WIwbsRGNb8avv2WzdtfWw= X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1712 Xref: news1.google.com comp.lang.ada:18330 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Date: 2011-10-06T08:19:51-05:00 List-Id: On Wed, 05 Oct 2011 04:13:22 +0200, Yannick DuchĂȘne (Hibou57) wrote: >> oops, the C++ spec allows implementations to terminate compiles if they >> recurse too deeply. Nevermind. > That's no good again. After that, a compiler, may produce invalid > output. The C++ compilers I've used where I've seen this happen (mostly while experimenting with metaprogramming) all produced an error message about "template instantiation depth exceeded" or something like that. None of them silently produced incorrect code. Peter