generics and records
spambox_at_volja.net
Date: 02/27/05
- Previous message: Colin Paul Gloster: "Re: Software Engineering Ethics"
- Next in thread: Dmitry A. Kazakov: "Re: generics and records"
- Reply: Dmitry A. Kazakov: "Re: generics and records"
- Reply: Jeffrey Carter: "Re: generics and records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 27 Feb 2005 11:34:00 -0800
Hello,
in the process of learning Ada, I came to the problem of generics and
records. I want to instantiate a package with a record type:
generic
type x is private;
package ...
private
type xx is new x;
end ...
When I want to use it:
type myrecord is
...
package somename is new seeabove(myrecord);
I don't know if this is the correct way. The problem is, how do I make
a component of myrecord available to the package?
Thanks,
andrej
- Previous message: Colin Paul Gloster: "Re: Software Engineering Ethics"
- Next in thread: Dmitry A. Kazakov: "Re: generics and records"
- Reply: Dmitry A. Kazakov: "Re: generics and records"
- Reply: Jeffrey Carter: "Re: generics and records"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|