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!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: "Must instantiate controlled types at library level." Why? Date: Wed, 12 May 2004 16:41:36 +0200 Organization: AdaCL Message-ID: <3387002.Qu8lUxbEJK@linux1.krischik.com> References: <2004512-132548-992437@foorum.com> 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 1084374656 02 13467 K6l2GpK1Zp9iUJ7 040512 15:10:56 X-Complaints-To: usenet-abuse@t-online.de X-ID: VA48KuZvgeRjsj1BRjCk-QoAgCfmgB9J8fg4q5dNMg0OdgbCZn3xst User-Agent: KNode/0.7.7 Xref: controlnews3.google.com comp.lang.ada:496 Date: 2004-05-12T16:41:36+02:00 List-Id: Ludovic Brenta wrote: > > Peter, what do you mean when you say your C++ program "works"? Does it > print "I'm in X::f" or "I'm in Y::f"? And what were you expecting? > Personally I have a hard time deciding what I should expect. Perhaps > my mind has been tainted by Ada by now :) He did not use any stack memory so it should work. It's of corse C++ thinking since most C++ programmers don't understand the language. In my last assignment I was the only one of about 50 C++ programmers who ever read the ISO standart on C++. One team was using multiple inheritence left right and centre never know about diamont inheritance and its side effect. When the switch from IBM C++ to MS C++ was made there programm crashed - sporadicly - left right and centre. Until I told them about virtual inheritance. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com