From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fce663eaf40b52f6 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Manifesto against Vector Date: Mon, 10 May 2004 08:41:03 +0200 Organization: AdaCL Message-ID: <1952584.Dh8uKYASTL@linux1.krischik.com> References: Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1084174210 06 9400 xQeNGyK6R4E8KCC 040510 07:30:10 X-Complaints-To: usenet-abuse@t-online.de X-ID: rwk2BZZYweD1xbygXh-s-Fck7QPqJBxyyoXUHbGsOwGOv-MiQi7vsx User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:409 Date: 2004-05-10T08:41:03+02:00 List-Id: Alexander E. Kopilovich wrote: > This is quite obvious that the most natural name for this container in Ada > is Unbounded_Array, because this name perfectly associates with both > "array" and Unbounded_String, for which it is natural generalization. But perhaps Unbounded_Array might be used for something far more Ada like: package Unbounded_String is new Unbounded_Array ( Element_Type => Character, Index_Type => Natural, Base_Array => String); package Unbounded_Wide_String is new Unbounded_Array ( Element_Type => Wide_Character, Index_Type => Natural, Base_Array => Wide_String); Personally I wonder why they have not done that for Ada95 allready. And if Unicode_Character aka Wide_Wide_Character is implemented an generic implementation of Unbounded_String becomes even more usefull. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com