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,c022fc5445abd13d X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g44g2000cwa.googlegroups.com!not-for-mail From: "Adam Beneschan" Newsgroups: comp.lang.ada Subject: Re: Discriminated types with default discriminants Date: 3 Nov 2005 16:08:02 -0800 Organization: http://groups.google.com Message-ID: <1131062882.814405.147150@g44g2000cwa.googlegroups.com> References: NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1131062887 18342 127.0.0.1 (4 Nov 2005 00:08:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 4 Nov 2005 00:08:07 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g44g2000cwa.googlegroups.com; posting-host=66.126.103.122; posting-account=cw1zeQwAAABOY2vF_g6V_9cdsyY_wV9w Xref: g2news1.google.com comp.lang.ada:6165 Date: 2005-11-03T16:08:02-08:00 List-Id: Robert A Duff wrote: > > A few compilers will add a level of indirection, and store the > > variable-sized stuff elsewhere, reallocating storage when the amount > > available is not big enough. > > It is quite difficult to get the indirect approach to work right. > Think about renaming a subcomponent of the thing, Ummm ... isn't this exactly what's disallowed by 8.5.1(5)? -- Adam