comp.lang.ada
 help / color / mirror / Atom feed
From: Gilbert Gosseyn <hnptz@yahoo.de>
Subject: What is the difference?
Date: Sat, 10 Aug 2019 06:59:38 -0700 (PDT)
Date: 2019-08-10T06:59:38-07:00	[thread overview]
Message-ID: <50918b3d-cc75-4375-8735-8c007287f357@googlegroups.com> (raw)

package G is

generic

with function f return Integer is <>;

-- alternativ: with function f return Integer;

procedure gg;

end G;


package body G is

procedure gg is
begin
null;
end gg;

end G;


procedure test is

function f1 return Integer is
begin
null;
end f1;

procedure gg1 is new gg(f => f1);

begin
null;
end test;

It works in both versions.

What is here the meaning of: is <>?


             reply	other threads:[~2019-08-10 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 13:59 Gilbert Gosseyn [this message]
2019-08-10 15:24 ` What is the difference? Jeffrey R. Carter
2019-08-10 16:04   ` Gilbert Gosseyn
2019-08-12 13:44 ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox