-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2005 Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2006, Free Software Foundation, Inc. --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. The copyright notice above, and the license provisions that follow --
with Ada.Finalization;
package Ada.Strings.Wide_Unbounded is
-pragma Preelaborate (Wide_Unbounded);
+ pragma Preelaborate;
+
type Unbounded_Wide_String is private;
+ pragma Preelaborable_Initialization (Unbounded_Wide_String);
Null_Unbounded_Wide_String : constant Unbounded_Wide_String;
(AF.Controlled with
Reference => Null_Wide_String'Access,
Last => 0);
- -- Note: this declaration is illegal since library level controlled
- -- objects are not allowed in preelaborated units. See AI-161 for a
- -- discussion of this issue and an attempt to address it. Meanwhile,
- -- what happens in GNAT is that this check is omitted for internal
- -- implementation units (see check in sem_cat.adb).
-
end Ada.Strings.Wide_Unbounded;