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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,df1a7f1c3c3bc77e X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l77g2000hsb.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: An Ada Advice Inquiry Date: 7 May 2007 01:50:20 -0700 Organization: http://groups.google.com Message-ID: <1178527820.949652.143060@l77g2000hsb.googlegroups.com> References: <1178448459.256329.28590@n76g2000hsh.googlegroups.com> <1178480316.415370.194260@n76g2000hsh.googlegroups.com> <463ed042$1@news.post.ch> NNTP-Posting-Host: 137.138.37.241 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1178527821 1761 127.0.0.1 (7 May 2007 08:50:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 May 2007 08:50:21 +0000 (UTC) In-Reply-To: <463ed042$1@news.post.ch> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070228 Red Hat/1.5.0.10-0.1.slc3 Firefox/1.5.0.10,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: l77g2000hsb.googlegroups.com; posting-host=137.138.37.241; posting-account=Ch8E9Q0AAAA7lJxCsphg7hBNIsMsP4AE Xref: g2news1.google.com comp.lang.ada:15610 Date: 2007-05-07T01:50:20-07:00 List-Id: On 7 Maj, 09:07, Martin Krischik wrote: > > I really don't remember when was the last time I cared about low-level > > concerns in C++. Unless I had to (that is, it was actually the goal), > > but then nothing was obstructing my goals neither. > > I remember that last time very vividly - when the C++ compiler I was > using thought that an int& and a unsigned& could be converted freely > using a temporary on the stack. This is forbidden by the standard (non-const refs cannot be bound to temporaries). I have just checked with quite an old compiler. It complained about impossible conversion. What crap you were using? MSVC++6.0, probably? I believe you entirely that you had this problem - but today, at least three generations of compilers later, it's hardly a convincing argument. Note that we are talking about starting a *new project*. New projects have the beautiful property of not being bound to legacy toolsets and today you can get essentially free C++ compilers that from the practical point of view are 100% standard compliant. If the project is really starting afresh, then there are even more reasons not to dismiss C++ on the basis of some bad experiences you had with the stone age compilers. -- Maciej Sobczak http://www.msobczak.com/