From: "Egil H. H�vik" <egil.harald.hoevikNOSPAM@REMOVEkongsberg.com>
Subject: Re: pointers and genericity
Date: Wed, 16 Feb 2005 10:53:41 +0100
Date: 2005-02-16T10:53:41+01:00 [thread overview]
Message-ID: <cuv4v5$3e3$1@kda-news.kongsberg.com> (raw)
In-Reply-To: 344d0fee.0502160127.432c8614@posting.google.com
Have you tried:
"Xavier Serrand" <xavier.serrand@free.fr> wrote in message
news:344d0fee.0502160127.432c8614@posting.google.com...
> You are right... trouble comes from that
>
<snip>
> with Test_Gen_Pk_DataSource;
> generic
> type T_Element is private;
> Null_Element : in T_Element;
> with package Pk_DS is new Test_Gen_Pk_DataSource (T_Elem =>
> T_Element,
> Null_Elem =>
> Null_Element);
> package Test_Gen_Pk_User is
> type T_User is record
> Nom : string (1..33) := (others => ' ');
> Rec : Pk_DS.T_Record := (Data => Null_Element,
> Next => null, Prev => null);
> end record;
> procedure Assign (U : in out T_User;
> S : in string; E : in T_Element;
> Proc_Next, Proc_Prev : in Pk_DS.T_proc_Browse);
private
procedure Proc_Suiv (E : in out Pk_DS.T_Record;
S : out string);
> end Test_Gen_Pk_User;
~egilhh
next prev parent reply other threads:[~2005-02-16 9:53 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-15 12:10 pointers and genericity Xavier Serrand
2005-02-15 13:12 ` Dmitry A. Kazakov
2005-02-16 9:27 ` Xavier Serrand
2005-02-16 9:35 ` Martin Dowie
2005-02-16 9:53 ` Egil H. H�vik [this message]
2005-02-16 15:00 ` Robert A Duff
2005-02-17 22:50 ` Xavier Serrand
2005-02-17 23:11 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox