comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <jrcarter@acm.org>
Subject: Re: Ada.Containers.Doubly_Linked_Lists
Date: Mon, 05 Feb 2007 04:03:02 GMT
Date: 2007-02-05T04:03:02+00:00	[thread overview]
Message-ID: <W%xxh.1173260$084.369528@attbi_s22> (raw)
In-Reply-To: <mailman.69.1170624131.18371.comp.lang.ada@ada-france.org>

Carroll, Andrew wrote:
>  
> Okay, so, just out of curiosity, what do I do if I need the Node_type 
> within Ada.Containers.Doubly_Linked_Lists to have an additional 
> "attribute"?  So instead of just having
>  
> type Node_Type is limited record
>  Element : Element_Access;
>  Next : Node_Access;
>  Prev : Node_Access;
> end record;

There is nothing named Node_Type in Ada.Containers.Doubly_Linked_Lists. 
See ARM-0X A.18.3 for the definition of this generic package:

http://www.adaic.org/standards/05rm/html/RM-A-18-3.html

An implementation may have something named Node_Type, but that would not 
be in the visible part of the specification, and so unavailable to you 
as a client of the generic or instantiations of it. Another 
implementation may be completely different, so relying on information 
about the implementation would be completely non-portable.

-- 
Jeff Carter
"Now go away or I shall taunt you a second time."
Monty Python & the Holy Grail
07



  parent reply	other threads:[~2007-02-05  4:03 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.69.1170624131.18371.comp.lang.ada@ada-france.org>
2007-02-04 21:35 ` Ada.Containers.Doubly_Linked_Lists Niklas Holsti
2007-02-04 22:08   ` Ada.Containers.Doubly_Linked_Lists Ludovic Brenta
2007-02-05 15:43     ` Ada.Containers.Doubly_Linked_Lists Matthew Heaney
2007-02-05  4:03 ` Jeffrey R. Carter [this message]
2007-02-07 14:52 Ada.Containers.Doubly_Linked_Lists Carroll, Andrew
2007-02-07 15:06 ` Ada.Containers.Doubly_Linked_Lists Ludovic Brenta
2007-02-07 18:22   ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
2007-02-08 13:39     ` Ada.Containers.Doubly_Linked_Lists Stephen Leake
2007-02-07 18:19 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
2007-02-08 10:44   ` Ada.Containers.Doubly_Linked_Lists Alex R. Mosteo
     [not found] <mailman.75.1170828524.18371.comp.lang.ada@ada-france.org>
2007-02-07  7:16 ` Ada.Containers.Doubly_Linked_Lists Niklas Holsti
2007-02-08 13:37 ` Ada.Containers.Doubly_Linked_Lists Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2007-02-06 14:40 Ada.Containers.Doubly_Linked_Lists Carroll, Andrew
     [not found] <mailman.67.1170570920.18371.comp.lang.ada@ada-france.org>
2007-02-04  8:10 ` Ada.Containers.Doubly_Linked_Lists Niklas Holsti
2007-02-04 21:05 ` Ada.Containers.Doubly_Linked_Lists Jeffrey R. Carter
replies disabled

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