Abstract type: Difference between revisions
Content deleted Content added
m Typos |
m →Abstract type: Typo fixed |
||
Line 24: | Line 24: | ||
Abstract types may provide components and implementation of their operations. Abstract types are singly inherited. |
Abstract types may provide components and implementation of their operations. Abstract types are singly inherited. |
||
<ada> |
<ada> |
||
with Ada.Finalization |
with Ada.Finalization; |
||
... |
... |
||
type Node is abstract new Ada.Finalization.Limited_Controlled and Queue with record |
type Node is abstract new Ada.Finalization.Limited_Controlled and Queue with record |