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,7f2ce8bda9cae4ab X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!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: "Must instantiate controlled types at library level." Why? Date: Sat, 15 May 2004 10:34:42 +0200 Organization: AdaCL Message-ID: <1562663.DHlNdcsBQS@linux1.krischik.com> References: <13392802.3gDeTK7ybb@linux1.krischik.com> <2780491.NPbR8AFya6@linux1.krischik.com> <11924003.IfRfnULeIG@linux1.krischik.com> <1676457.GMYvKY1ieA@linux1.krischik.com> <1616198.O4tUV8TdF7@linux1.krischik.com> <87lljuvd6j.fsf@insalien.org> 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 1084610291 00 19202 jur3Grpv+9lqGie 040515 08:38:11 X-Complaints-To: usenet-abuse@t-online.de X-ID: TbAXuBZOgeLUnbv906QVBbrV+tHCQbyXRUg3MSpuVDO-WwU8YH8uUD User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:601 Date: 2004-05-15T10:34:42+02:00 List-Id: Ludovic Brenta wrote: > "Xenos" writes: >> Arrays in C/C++ are not first-class citizens and cannot be functions >> parmeters. Saying foo(int x[]) does not define x as an array type, >> so of course sizeof x will equal sizeof(int*). > > Well, I think that that was the whole point Martin was making. In > Ada, arrays *are* first-class citizens. However you want to present > things, sooner or later you will have to concede that C++ "arrays" > create whole classes of potential problems which simply do not exist > in Ada. Precisely. Partly the dicussion involves around the fact I have my developers had on an Xenos has his language lawyer had on. If I put my on language lawyer had on I have to fully agree with him. Nothing wrong with what he said. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com