aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/unchconv.ads
blob: 58ef99439d9d28236b6e7f8f2047a952ec482c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
------------------------------------------------------------------------------
--                                                                          --
--                         GNAT COMPILER COMPONENTS                         --
--                                                                          --
--                  U N C H E C K E D _ C O N V E R S I O N                 --
--                                                                          --
--                                 S p e c                                  --
--                                                                          --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT.  In accordance with the copyright of that document, you can freely --
-- copy and modify this specification,  provided that if you redistribute a --
-- modified version,  any changes that you have made are clearly indicated. --
--                                                                          --
------------------------------------------------------------------------------

--  Renaming of :ref:`Ada.Unchecked_Conversion`

generic
   type Source (<>) is limited private;
   type Target (<>) is limited private;

function Unchecked_Conversion (S : Source) return Target;
pragma Import (Intrinsic, Unchecked_Conversion);
pragma Pure (Unchecked_Conversion);
--  See ``Ada.Unchecked_Conversion``