Re: GCC 4.0 Ada.Containers Cursor danger.
- From: "Dmitry A. Kazakov" <mailbox@xxxxxxxxxxxxxxxxx>
- Date: Wed, 6 Jul 2005 09:30:29 +0200
On 5 Jul 2005 10:11:10 -0700, Dmitriy Anisimkov wrote:
> I would propose to have a Ada.Containers subset without cursors for
> safety reasons.
Yes, or even to remove them completely.
It is not clear to me what the semantics a cursor has. Is it a location in
the container? Then that should be an index or position. Is it a pointer to
an individual element? Then that should be an access type object. Cursor
looks like an amorphous mixture inheriting disadvantages of both.
> Where the "windows" safer in C or in Ada ?
Equally safe. It is just so that in C they are located on the floor...
(:-))
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
.
- Follow-Ups:
- Re: GCC 4.0 Ada.Containers Cursor danger.
- From: Georg Bauhaus
- Re: GCC 4.0 Ada.Containers Cursor danger.
- References:
- GCC 4.0 Ada.Containers Cursor danger.
- From: Dmitriy Anisimkov
- Re: GCC 4.0 Ada.Containers Cursor danger.
- From: Matthew Heaney
- Re: GCC 4.0 Ada.Containers Cursor danger.
- From: Dmitriy Anisimkov
- GCC 4.0 Ada.Containers Cursor danger.
- Prev by Date: Re: GCC 4.0 Ada.Containers Cursor danger.
- Next by Date: Re: GCC 4.0 Ada.Containers Cursor danger.
- Previous by thread: Re: GCC 4.0 Ada.Containers Cursor danger.
- Next by thread: Re: GCC 4.0 Ada.Containers Cursor danger.
- Index(es):
Relevant Pages
|