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,1dd28d5040ded1f8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-22 08:03:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!pec-15-250.tnt3.hh2.uunet.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Announce: Grace project site operational Date: Wed, 22 May 2002 17:05:44 +0200 Message-ID: <3ucneuoh5kgemqpoq85ts5v7lolnk760bn@4ax.com> References: <4519e058.0205140718.3ddb1b2a@posting.google.com> <3CE15D0A.3050100@mail.com> <2s44eu0fm4g6606h9p4stb1b5oc0nmg5u8@4ax.com> <3CE2A946.5030808@mail.com> <3CE40B8E.70102@mail.com> NNTP-Posting-Host: pec-15-250.tnt3.hh2.uunet.de (149.225.15.250) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1022079809 26152675 149.225.15.250 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:24525 Date: 2002-05-22T17:05:44+02:00 List-Id: On Wed, 22 May 2002 11:40:35 +0000 (UTC), Georg Bauhaus wrote: >Dmitry A. Kazakov wrote: > >: C++ templates are simply untyped, substitute'n'pray. > >Is this a general statement? Out of couriosity: > template < class Thing, [ ... example skipped ] > >g++ -c test.cc >test.cc: In function > `int oodle(does_not_have_plus)': >test.cc:24: instantiated from here >test.cc:7: no match for `does_not_have_plus & + int' > >So (lack of C++ template understanding on my side not withstanding) >there are cases where a prayer isn't needed? I did not claimed that C++ is untyped. I claimed that the formal template parameters are untyped in the sense that you cannot say: template