comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: access-to-classwide has non-static size?
Date: Fri, 27 Mar 2015 15:58:35 +0100
Date: 2015-03-27T15:58:35+01:00	[thread overview]
Message-ID: <mf3r5d$501$1@dont-email.me> (raw)
In-Reply-To: <lypp7uttf9.fsf@pushface.org>

Le 27/03/2015 15:18, Simon Wright a écrit :
> I've worked out how to do it at elaboration now:
> 
>    The_Instance_Events : access Event_Queues.Vector :=
>      new Event_Queues.Vector (Capacity => Capacity);

So, you are avoiding No_Implicit_Heap_Allocation by having an explicit
heap allocation... ;-). Generally, you have No_Implicit_Heap_Allocation
if you want to be certain to have no dynamic allocation at all.

BTW, you started this thread explaining that you were aiming for the
Ravenscar profile, but No_Implicit_Heap_Allocation is not part of Ravenscar.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
Tel: +33 1 45 29 21 52, Fax: +33 1 45 29 25 00
http://www.adalog.fr


  reply	other threads:[~2015-03-27 14:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-27  8:26 access-to-classwide has non-static size? Simon Wright
2015-03-27  8:46 ` J-P. Rosen
2015-03-27  8:53   ` Simon Wright
2015-03-27  9:13     ` J-P. Rosen
2015-03-27 14:18       ` Simon Wright
2015-03-27 14:58         ` J-P. Rosen [this message]
2015-03-27 15:08           ` Egil H H
2015-03-27 16:51             ` J-P. Rosen
2015-03-27 15:51         ` sbelmont700
2015-03-27 21:11           ` Simon Wright
2015-03-27  8:49 ` Simon Wright
2015-03-27  8:53   ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox