annotate gcc/ada/libgnat/a-tgdico.ads @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 ------------------------------------------------------------------------------
kono
parents:
diff changeset
2 -- --
kono
parents:
diff changeset
3 -- GNAT COMPILER COMPONENTS --
kono
parents:
diff changeset
4 -- --
kono
parents:
diff changeset
5 -- ADA.TAGS.GENERIC_DISPATCHING_CONSTRUCTOR --
kono
parents:
diff changeset
6 -- --
kono
parents:
diff changeset
7 -- S p e c --
kono
parents:
diff changeset
8 -- --
kono
parents:
diff changeset
9 -- This specification is derived from the Ada Reference Manual for use with --
kono
parents:
diff changeset
10 -- GNAT. In accordance with the copyright of that document, you can freely --
kono
parents:
diff changeset
11 -- copy and modify this specification, provided that if you redistribute a --
kono
parents:
diff changeset
12 -- modified version, any changes that you have made are clearly indicated. --
kono
parents:
diff changeset
13 -- --
kono
parents:
diff changeset
14 ------------------------------------------------------------------------------
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 pragma Warnings (Off);
kono
parents:
diff changeset
17 -- Turn off categorization warnings
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 generic
kono
parents:
diff changeset
20 type T (<>) is abstract tagged limited private;
kono
parents:
diff changeset
21 type Parameters (<>) is limited private;
kono
parents:
diff changeset
22 with function Constructor (Params : not null access Parameters) return T
kono
parents:
diff changeset
23 is abstract;
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 function Ada.Tags.Generic_Dispatching_Constructor
kono
parents:
diff changeset
26 (The_Tag : Tag;
kono
parents:
diff changeset
27 Params : not null access Parameters) return T'Class;
kono
parents:
diff changeset
28 pragma Preelaborate (Generic_Dispatching_Constructor);
kono
parents:
diff changeset
29 pragma Import (Intrinsic, Generic_Dispatching_Constructor);