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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,703c4f68db81387d X-Google-Thread: 109fba,703c4f68db81387d X-Google-Attributes: gid103376,gid109fba,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!151.189.20.20.MISMATCH!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Wed, 16 Mar 2005 12:46:10 +0100 From: Georg Bauhaus Organization: future apps GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1 X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.lang.c++ Subject: Re: [OT] Re: Teaching new tricks to an old dog (C++ -->Ada) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <871xau9nlh.fsf@insalien.org> <3SjWd.103128$Vf.3969241@news000.worldonline.dk> <87r7iu85lf.fsf@insalien.org> <1110052142.832650@athnrd02> <42309456$1@news.broadpark.no> <4232ab3a$0$26547$9b4e6d93@newsread4.arcor-online.net> <1110825790.396769@athnrd02> <1gf23j59mnsm2.wimnrcdrb09u.dlg@40tude.net> <1d7hl8pj8dhsh.m8mjwl7qxs86$.dlg@40tude.net><4236bdab$0$1098$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <42381bf1$0$26546$9b4e6d93@newsread4.arcor-online.net> NNTP-Posting-Date: 16 Mar 2005 12:43:45 MET NNTP-Posting-Host: b1a52257.newsread4.arcor-online.net X-Trace: DXC=F@di^mZ\0;@SZ`lLL_hK=J:ejgIfPPldDjW\KbG]kaMHGSi?jHD8GO@][AgUeH@XHNUUng9_FXZ=C>:=P9Ihe`BH@Z?dZ]MOidE X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:9471 comp.lang.c++:45926 Date: 2005-03-16T12:43:45+01:00 List-Id: Dmitry A. Kazakov wrote: > On Tue, 15 Mar 2005 11:51:33 +0100, Georg Bauhaus wrote: >>generic >> type Ordered is new Has_Less_Than with private; >>package ... >> >>where Has_Less_Than is an abstract type with a "<" operation. > > > In which case it simple does not need to be generic! Ordered here is a > normal ADT, which class is Has_Less_Than'Class. So the package should work > directly with the class and be non-generic. End of story. If you want a set of pointers to Employee'class, how can do you do it easily without templates for sets? Have you read Bertrand Meyer's comparison? What do you think? Georg