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,c89a4b067758a6e1 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!b29g2000hsa.googlegroups.com!not-for-mail From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: Is it really Ok to assert that the Ada syntax is a context-free grammar ? Date: Sat, 23 Feb 2008 11:02:02 -0800 (PST) Organization: http://groups.google.com Message-ID: <6729bfba-14b3-4d5d-bdfd-f8bb4c7fe46d@b29g2000hsa.googlegroups.com> References: <4a448c5c-a4ed-446f-bb8b-67c5ba99927a@f47g2000hsd.googlegroups.com> <47bbfb5b$1@news.post.ch> <37b7e369-01c8-4adf-8d1e-c40fa7e51cea@f47g2000hsd.googlegroups.com> <1646707.uLek5tK8oX@linux1.krischik.com> NNTP-Posting-Host: 85.0.241.194 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1203793323 18785 127.0.0.1 (23 Feb 2008 19:02:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 23 Feb 2008 19:02:03 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b29g2000hsa.googlegroups.com; posting-host=85.0.241.194; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20034 Date: 2008-02-23T11:02:02-08:00 List-Id: On 21 Lut, 20:24, Martin Krischik wrote: > (X)Y copy a bit pattern. In Ada? No. In C or C++? Not always. > reinterpret_cast (Y) copies a bit pattern. In C++? Not always. For example, if X is a reference type, then no copying is involved - it is rather a "view conversion". These conversions have ugly names for the same reasons as Unchecked_XXX in Ada. -- Maciej Sobczak * www.msobczak.com * www.inspirel.com