comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Declaration of private type Containers
Date: Fri, 30 May 2008 14:05:27 +0200
Date: 2008-05-30T14:05:27+02:00	[thread overview]
Message-ID: <1mc8en3qrsdz.upl266usppl4.dlg@40tude.net> (raw)
In-Reply-To: 6d6feee1-fe69-4d19-9745-4748d341a56e@r66g2000hsg.googlegroups.com

On Fri, 30 May 2008 04:49:41 -0700 (PDT), alexander.kleppe@web.de wrote:

> The only thing I want to do is to  declare a list package, whose
> Element_Type is of a private record type:
 
package A is
   type My_Type is private
private
   type My_Type is record
      ...
   end record;
end A;

package A.Doubly_Linked_List is -- Child instance
   new Ada.Containers.Doubly_Linked_List (My_Type);

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



  reply	other threads:[~2008-05-30 12:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-30 11:49 Declaration of private type Containers alexander.kleppe
2008-05-30 12:05 ` Dmitry A. Kazakov [this message]
2008-05-30 12:21 ` Jean-Pierre Rosen
2008-05-30 13:59   ` alexander.kleppe
2008-05-30 14:25     ` Jean-Pierre Rosen
2008-05-30 16:00     ` Adam Beneschan
2008-05-31  2:04     ` Steve
2008-05-31  5:28   ` Randy Brukardt
2008-05-30 20:27 ` Matthew Heaney
2008-06-04 15:40   ` alexander.kleppe
replies disabled

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