formal_type.ads
来自「用于进行gcc测试」· ADS 代码 · 共 16 行
ADS
16 行
-- { dg-do compile }with Ada.Strings.Bounded;package formal_type is generic with package BI is new Ada.Strings.Bounded.Generic_Bounded_Length (<>); type NB is new BI.Bounded_String; package G is end; package BI is new Ada.Strings.Bounded.Generic_Bounded_Length (30); type NB is new BI.Bounded_String; Thing : NB; Size : Integer := THing.Max_Length; package GI is new G (BI, NB);end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?