comp.lang.ada
 help / color / mirror / Atom feed
From: Christoph Grein <christoph.grein@eurocopter.com>
Subject: Re: Help: Type not accessible
Date: Wed, 20 Mar 2002 06:52:57 +0100 (MET)
Date: 2002-03-20T06:52:57+01:00	[thread overview]
Message-ID: <mailman.1016603702.29286.comp.lang.ada@ada.eu.org> (raw)

From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
> Christoph Grein <christoph.grein@eurocopter.com> writes:
> 
> > Use 'Unchecked_Access instead, and you're on yourself to prevent dangling 
> > pointers.
> 
> Please don't introduce hacks to newbies; show them the right way
> first! This is Ada, not C!
> 
> -- 
> -- Stephe

This is as little a hack as Unchecked_Deallocation. You simply need it in some 
cases... If 'Unchecked_Access is a hack, also 'Access is a hack. I rarely feel 
the need to use aliases.

Note that I gave complete information why 'Access does not work (omitted in your 
quote).



             reply	other threads:[~2002-03-20  5:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  5:52 Christoph Grein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-19 14:45 Help: Type not accessible Christoph Grein
2002-03-19 19:02 ` Stephen Leake
2002-03-19 13:58 Mattimus
2002-03-19 14:36 ` Stephen Leake
replies disabled

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