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.6 required=5.0 tests=BAYES_00,FROM_WORDY autolearn=no 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 21:06:32 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!newscon06.news.prodigy.com!prodigy.com!newsmst01!postmaster.news.prodigy.com!newssvr16.news.prodigy.com.POSTED!not-for-mail From: "Ken Garlington" Newsgroups: comp.lang.ada References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> Subject: Re: Compile time executed functions Organization: ex-FlashNet, now Prodigy X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <5mzw6.415$1H6.72722473@newssvr16.news.prodigy.com> NNTP-Posting-Host: 65.65.211.168 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr16.news.prodigy.com 985842177 6207069 65.65.211.168 (Thu, 29 Mar 2001 00:02:57 EST) NNTP-Posting-Date: Thu, 29 Mar 2001 00:02:57 EST Date: Thu, 29 Mar 2001 05:02:57 GMT Xref: supernews.google.com comp.lang.ada:6185 Date: 2001-03-29T05:02:57+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!) Is this a different subject than resolving complex functions as simple ROM constants? I'm having trouble seeing how a complex function written as a macro consistently ends up as a constant...