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: a07f3367d7,146d9a693430fff2 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!l14g2000pro.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Ada2012 Invariants and obaque types Date: Tue, 21 Jun 2011 06:00:59 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <239a78ad-0937-4a7a-8163-231430fd5ffe@k27g2000yqn.googlegroups.com> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1308661339 24711 127.0.0.1 (21 Jun 2011 13:02:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 21 Jun 2011 13:02:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l14g2000pro.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19986 Date: 2011-06-21T06:00:59-07:00 List-Id: On Jun 21, 1:54=A0pm, Robert A Duff wrote: > Martin writes: > > Thanks! > > You're welcome. > > >... I'll just have to stick with "with Post =3D>" on all the > > operations instead for now...until GNAT GPL 2012!! :-) > > Or don't use incomplete types completed in the body. > > - Bob Yes, I was thinking of replacing this with discriminant to an interface instead...(think 'strategy pattern' but with only 1 strategy)...wonder hold Invar/Pre/Post will cope with that!! :-) -- Martin