comp.lang.ada
 help / color / mirror / Atom feed
From: Ed Falis <falis@verizon.net>
Subject: Re: Pointers explained?
Date: Mon, 30 Jul 2007 19:04:51 GMT
Date: 2007-07-30T19:04:51+00:00	[thread overview]
Message-ID: <PM0004367FC2CA92F2@tilopa.unknown.dom> (raw)
In-Reply-To: 1185818189.689914.159900@x40g2000prg.googlegroups.com

shaunpatterson@gmail.com wrote:

> It appears that the only way to get a Message_Class is by some where
> in the
> code using a "new"
>
> Is this assumption correct?

No.  If you allocate a Message object statically (in package data), you
can do something like:

X : aliased Specific_Message_Type;

function Get_One return Message_Class is
begin
   return X'Access;
end Get_One;



  reply	other threads:[~2007-07-30 19:04 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-30 17:53 Pointers explained? shaunpatterson
2007-07-30 17:56 ` shaunpatterson
2007-07-30 19:04   ` Ed Falis [this message]
2007-07-30 19:05   ` Ludovic Brenta
2007-07-30 19:36   ` Adam Beneschan
2007-07-30 21:23     ` Maciej Sobczak
2007-07-30 22:36       ` Adam Beneschan
2007-07-31  7:33         ` Dmitry A. Kazakov
2007-07-31  1:15       ` Anh Vo
2007-07-30 22:20     ` Adam Beneschan
2007-07-30 21:31   ` Jeffrey R. Carter
2007-07-31 17:21   ` Simon Wright
2007-07-31 18:06     ` Dmitry A. Kazakov
2007-07-31 22:38       ` shaunpatterson
2007-08-01  7:53         ` Martin Krischik
2007-08-01  8:21         ` Dmitry A. Kazakov
2007-08-10 19:52         ` Simon Wright
2007-07-30 20:11 ` Dmitry A. Kazakov
2007-07-31  8:28 ` Martin Krischik
  -- strict thread matches above, loose matches on Subject: below --
2007-07-30 17:53 shaunpatterson
replies disabled

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