Re: Interfaces and private types
- From: Georg Bauhaus <rm.tsoh+bauhaus@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Jan 2008 19:21:22 +0100
Philippe Tarroux schrieb:
Hi again,
There is no compilation problem with the following code :
package Test_Interfaces is
type Int is synchronized interface;
procedure Init (I : in out Int) is abstract;
type T is new Int with private;
private
task type T is
entry Init;
end T;
end Test_Interfaces;
What do you get for
task type T is new Int with -- which it is, a new Int
overriding entry Init; -- which it is, overriding I suppose
end T;
.
- References:
- Interfaces and private types
- From: Philippe Tarroux
- Interfaces and private types
- Prev by Date: Re: What is the best way to define the Imported C function
- Next by Date: Re: Default array base index
- Previous by thread: Interfaces and private types
- Next by thread: Re: Interfaces and private types
- Index(es):
Relevant Pages
|