comp.lang.ada
 help / color / mirror / Atom feed
From: "J-P. Rosen" <rosen@adalog.fr>
Subject: Re: Funny (so to say...) interaction of "not null" and Vectors?
Date: Tue, 8 Oct 2019 18:24:59 +0200
Date: 2019-10-08T18:24:59+02:00	[thread overview]
Message-ID: <qnid8r$ov3$1@dont-email.me> (raw)
In-Reply-To: <9d5d30fd-028c-4a5d-9609-e101947e076a@googlegroups.com>

Le 08/10/2019 à 18:01, mockturtle a écrit :
> Answering my own post...  I removed all the "not null" requirements and the exception disappeared...  So, I guess my idea makes sense.
> 
> Nevertheless, if you have any remark, I'll be happy to hear them.
> 
A container has a capacity, which consists of a number of (not yet) used
elements, in order to decrease the number of reallocations. These extra
elements are not initialized, which is not allowed per your "not null"
declaration.

-- 
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:[~2019-10-08 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 15:46 Funny (so to say...) interaction of "not null" and Vectors? mockturtle
2019-10-08 16:01 ` mockturtle
2019-10-08 16:24   ` J-P. Rosen [this message]
2019-10-08 17:38     ` mockturtle
2019-10-09 18:58       ` mockturtle
2019-10-08 16:21 ` Dmitry A. Kazakov
2019-10-08 17:30   ` mockturtle
replies disabled

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