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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.176.90.212 with SMTP id x20mr9981191uae.23.1501443949331; Sun, 30 Jul 2017 12:45:49 -0700 (PDT) X-Received: by 10.36.1.208 with SMTP id 199mr528052itk.6.1501443949248; Sun, 30 Jul 2017 12:45:49 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!s6no1042630qtc.1!news-out.google.com!12ni3550itl.0!nntp.google.com!t6no859656itb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 30 Jul 2017 12:45:48 -0700 (PDT) In-Reply-To: <3efe5db0-4bc1-4718-b323-0b836515458e@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=176.130.29.212; posting-account=6yLzewoAAABoisbSsCJH1SPMc9UrfXBH NNTP-Posting-Host: 176.130.29.212 References: <2017072417413775878-contact@flyx.org> <3efe5db0-4bc1-4718-b323-0b836515458e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Smart Pointers and Tagged Type Hierarchies From: briot.emmanuel@gmail.com Injection-Date: Sun, 30 Jul 2017 19:45:49 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:47528 Date: 2017-07-30T12:45:48-07:00 List-Id: I like the approach with Implicit_Dereference for the accessor In AdaMagica= 's link. In fact, I am pretty sure we could use this for the smart pointer = itself, so that the call to Get at the bottom of the page is not even neces= sary. I started playing with that for GNATCOLL.Refcount, but did not have t= ime to finish yet.