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.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd45e29f9dafca87 X-Google-Attributes: gid103376,public From: Alexander Van Hecke Subject: Re: bitwise comparators Date: 2000/01/17 Message-ID: <38838989.4F158467@hotmail.com>#1/1 X-Deja-AN: 573929302 Cache-Post-Path: marvin!root@tvd-10-67-20-018.tvd.kotnet.kuleuven.ac.be Content-Transfer-Encoding: 7bit References: <3880D375.7E363123@hotmail.com> <38829638.0@news.pacifier.com> <3882FC1C.2BA8C959@hotmail.com> <85vmn2$ki1$1@nnrp1.deja.com> <38836CF2.AB738B8B@hotmail.com> <388394E0.55D1E913@maths.unine.ch> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@belnet.be X-Trace: naxos.belnet.be 948144616 3570 134.58.127.3 (17 Jan 2000 21:30:16 GMT) Organization: KULeuvenNet X-Cache: nntpcache 2.3.3 (see http://www.nntpcache.org/) Mime-Version: 1.0 NNTP-Posting-Date: 17 Jan 2000 21:30:16 GMT Newsgroups: comp.lang.ada Date: 2000-01-17T21:30:16+00:00 List-Id: > > > > use structs and callback functions and you have perfect generic types! > > You imagine a rather inefficient way to implement generics. As a matter of fact, this way is more efficient than using templates! Templates have to be copied and filled in -> lots of overhead. If you use callback functions in structs, all you have to do is link the correct pointers to the adresses of the functions and that's it. greetings, alex