c_words.ads

来自「用于进行gcc测试」· ADS 代码 · 共 17 行

ADS
17
字号
package C_Words is   type Comparable is limited interface;      type Word (<>) is tagged private;   function New_Word (Str : String) return Word;      type C_Word (<>) is new Word and Comparable with private;   function New_Word (Str : String) return C_Word;private   type Word (Length : Natural) is tagged record      Str : String (1 .. Length) := (others => ' ');   end record;      type C_Word is new Word and Comparable with null record;end C_Words;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?