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-04-02 07:18:04 PST Path: supernews.google.com!sn-xit-03!supernews.com!freenix!proxad.net!feeder2.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail Message-ID: <3AC88950.7036355A@free.fr> From: Jean-Marc Bourguet X-Mailer: Mozilla 4.76 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en, French, fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Compile time executed functions 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> <3AC4B7F9.7C73455A@free.fr> <3AC6ED5F.9F2F51A5@free.fr> <3AC84628.D8B70C7C@free.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 02 Apr 2001 14:16:59 GMT NNTP-Posting-Host: 158.140.208.29 X-Complaints-To: abuse@proxad.net X-Trace: nnrp6.proxad.net 986221019 158.140.208.29 (Mon, 02 Apr 2001 16:16:59 CEST) NNTP-Posting-Date: Mon, 02 Apr 2001 16:16:59 CEST Organization: Guest of ProXad - France Xref: supernews.google.com comp.lang.ada:6342 Date: 2001-04-02T14:16:59+00:00 List-Id: Robert A Duff wrote: > > Jean-Marc Bourguet writes: [...] > > I think that the ability to > > specialize template is a point where the C++ templates are more > > powerfull than the Ada generics. > > Also, Ada generics can't be recursive. How would you stop the recursion without an equivalent to specialisation? And with a equivalent to specialisation it would be natural to allow recusion. -- Jean-Marc