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.236.27.76 with SMTP id d52mr22228623yha.52.1427471502927; Fri, 27 Mar 2015 08:51:42 -0700 (PDT) X-Received: by 10.140.27.130 with SMTP id 2mr337858qgx.6.1427471502912; Fri, 27 Mar 2015 08:51:42 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!h3no5204141qgf.1!news-out.google.com!q90ni531qgd.1!nntp.google.com!h3no5204136qgf.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 27 Mar 2015 08:51:42 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=74.113.53.162; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 74.113.53.162 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1c04c8e4-9f68-433f-9283-49ba63f70b34@googlegroups.com> Subject: Re: access-to-classwide has non-static size? From: sbelmont700@gmail.com Injection-Date: Fri, 27 Mar 2015 15:51:42 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1695 X-Received-Body-CRC: 4079034985 Xref: news.eternal-september.org comp.lang.ada:25292 Date: 2015-03-27T08:51:42-07:00 List-Id: On Friday, March 27, 2015 at 10:18:51 AM UTC-4, Simon Wright wrote: > > I've worked out how to do it at elaboration now: > > The_Instance_Events : access Event_Queues.Vector := > new Event_Queues.Vector (Capacity => Capacity); > > (compiled but not yet executed - more challenges still to overcome!) Don't forget the 2012 'bounded' vector, which I presume would be acceptable for your situation ("Bounded vector objects should be implemented without implicit pointers or dynamic allocation.") -sb