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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-28 11:12:47 PST Path: supernews.google.com!sn-xit-02!supernews.com!bignews.mediaways.net!oleane.net!oleane!news.maxwell.syr.edu!feed2.onemain.com!feed1.onemain.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: "Phaedrus" Newsgroups: comp.lang.ada References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> Subject: Re: Compile time executed functions X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: Date: Wed, 28 Mar 2001 19:07:19 GMT NNTP-Posting-Host: 209.178.103.28 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 985806439 209.178.103.28 (Wed, 28 Mar 2001 11:07:19 PST) NNTP-Posting-Date: Wed, 28 Mar 2001 11:07:19 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: supernews.google.com comp.lang.ada:6168 Date: 2001-03-28T19:07:19+00:00 List-Id: "Mats Karlssohn" wrote in message news:3AC18DD1.EF25CE42@mida.se... > The other issue is that I feel that within Ada's expressive powers > it would be useful to have _some_ of the possibilities that is > availible when using C++ templates and/or C preprocessor macros. > (Please, no flames on the two 'bad words' above!) I hope that this doesn't come off as a flame, but Ada always had something like C++ templates, they are called generics. As for preprocessor macros, well, that subject has been pretty adequately covered in the "Implementing C/C++ style #include" thread. Phaedrus