From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Pointer to instance of indefinite array?
Date: Wed, 13 Aug 2014 10:43:19 -0700
Date: 2014-08-13T10:43:19-07:00 [thread overview]
Message-ID: <lsg83o$pc4$1@dont-email.me> (raw)
In-Reply-To: <b640ac84-d00e-493e-9ff9-c34eadc11ae2@googlegroups.com>
On 08/13/2014 09:06 AM, NiGHTS wrote:
>
> Is it possible to have a constrained array of indefinite arrays without using
> access? In my target program, the "Do_Something_With_Array" function is
> actually an interface to a FIFO queue where groups of indefinite arrays are
> temporarily buffered for use by another task. Of course this will be via an
> entry to a protected object but those details aside how can I construct a
> constrained array of indefinite arrays?
If I need something like that, I'll usually use an array of an unbounded-array
data structure, which in Ada is found in Ada.Containers.Vectors.
--
Jeff Carter
"C++ is vast and dangerous, a sort of Mordor of
programming languages."
Jason R. Fruit
120
next prev parent reply other threads:[~2014-08-13 17:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-13 2:07 Pointer to instance of indefinite array? NiGHTS
2014-08-13 2:09 ` Jeffrey Carter
2014-08-13 2:29 ` Shark8
2014-08-13 3:06 ` NiGHTS
2014-08-13 4:28 ` Jeffrey Carter
2014-08-13 16:06 ` NiGHTS
2014-08-13 17:43 ` Jeffrey Carter [this message]
2014-08-13 17:58 ` Shark8
2014-08-13 18:36 ` Dmitry A. Kazakov
2014-08-13 4:31 ` Per Sandberg
2014-08-13 7:47 ` Georg Bauhaus
2014-08-13 8:05 ` Egil H H
2014-08-13 15:32 ` Adam Beneschan
2014-08-14 8:03 ` Georg Bauhaus
2014-08-13 18:17 ` Niklas Holsti
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox