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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-04 01:05:05 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!europa.netcrusader.net!193.162.153.122!news.tele.dk!194.213.69.151!news.algonet.se!algonet!pepsi.tninet.se!not-for-mail From: Mats Karlssohn Newsgroups: comp.lang.ada Subject: Re: Compile time executed functions Date: Wed, 04 Apr 2001 09:59:17 +0200 Organization: MIDA Systemutveckling AB Message-ID: <3ACAD455.921FA05A@mida.se> References: <3AC03CCE.70E3C2D5@mida.se> <3AC18DD1.EF25CE42@mida.se> <5mzw6.415$1H6.72722473@newssvr16.news.prodigy.com> <3AC2EB17.33AAEC0A@mida.se> <3AC46252.B7E54EA6@free.fr> NNTP-Posting-Host: sdu168-250.ppp.algonet.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: cubacola.tninet.se 986371156 12312 195.163.250.168 (4 Apr 2001 07:59:16 GMT) X-Complaints-To: abuse@algo.net NNTP-Posting-Date: 4 Apr 2001 07:59:16 GMT X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:6439 Date: 2001-04-04T07:59:16+00:00 List-Id: Jean-Marc Bourguet wrote: > > Ken Garlington wrote: > > > Could you post an example of such a template, and what in the C++ standard > > you rely upon to guarantee compile-time calculations? > [Example deleted] > > Also, does > > "compile-time" include "link-time", or are you not allowed to have anything > > in the table that uses addresses? I missed to comment on this one, yes you are allowed to use addresses or addess dependent stuff in the table. For this discussion the linking is included in 'compile time' (sloppy language, I'm sorry). And thank you Jean-Marc! You provided the example that I didn't manage to provide! -- Mats Karlssohn, developer mailto:mats@mida.se Mida Systemutveckling AB http://www.mida.se Box 64, S-732 22 ARBOGA, SWEDEN Phone: +46-(0)589-89808 Fax: +46-(0)589-89809