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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,6c43f45c2ab47c51 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Using Ada.Containers.Vector and Limited Private types Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <8ff4c6c2-9892-463e-bdfd-1f7bfd78d607@s50g2000hsb.googlegroups.com> Date: Thu, 10 Jul 2008 09:31:52 +0200 Message-ID: <1vx0qbk66m9e6$.1ciz8utrd6y8s$.dlg@40tude.net> NNTP-Posting-Date: 10 Jul 2008 09:31:53 CEST NNTP-Posting-Host: 86c78943.newsspool4.arcor-online.net X-Trace: DXC=4XVITH@:\A@Aa;:RKVJ>LE4IUK\BH3YB>6TB0Q8:@CODNcfSJ;bb[EFCTGGVUmh?DLK[5LiR>kgBS5F^^P=8N[K X-Complaints-To: usenet-abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:1076 Date: 2008-07-10T09:31:53+02:00 List-Id: On Thu, 10 Jul 2008 00:16:06 GMT, Dale Stanbrough wrote: > My sticking point was in thinking an allocated limited object could not > be reassigned a value. Apparently not true for a heap/storage pool > allocated object. Well, they aren't reassigned, and there is no official "value" of a limited object. Formally Get_Next_Entry changes the state of a Directory_Entry_Type object, it does not assign it. However if the states of a limited object do not depend on anything else outside, then they can be treated as a "values." -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de