comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Warning: Storage error
Date: Sat, 9 Aug 2014 18:26:23 +0200
Date: 2014-08-09T18:26:23+02:00	[thread overview]
Message-ID: <14vvtor6816au.15qbbqi9jjpfk$.dlg@40tude.net> (raw)
In-Reply-To: ls5h2m$11p$2@dont-email.me

On Sat, 09 Aug 2014 09:08:54 -0700, Jeffrey Carter wrote:

> It also appears that you're attempting to reinvent Ada.Strings.Bounded.

A more frequent use case is a constant string allocated and initialized
once.

Ada.Strings.Bounded is practically unusable. Unbounded_String offers no
advantage over custom type because it requires explicit conversion to
String, and is suspicious for allocating more memory in advance than
actually required. RM is silent about the memory usage strategy.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


  reply	other threads:[~2014-08-09 16:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-09 15:20 Warning: Storage error Victor Porton
2014-08-09 16:07 ` anon
2014-08-09 16:08 ` Jeffrey Carter
2014-08-09 16:26   ` Dmitry A. Kazakov [this message]
2014-08-09 16:46     ` Jeffrey Carter
2014-08-09 16:57       ` Dmitry A. Kazakov
2014-08-09 16:21 ` Dmitry A. Kazakov
replies disabled

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