Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: We have a new standard! Date: Wed, 08 Jan 2025 13:31:03 -0800 Organization: None to speak of Lines: 20 Message-ID: <87plkxq9go.fsf@nosuchdomain.example.com> References: MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Wed, 08 Jan 2025 22:31:03 +0100 (CET) Injection-Info: dont-email.me; posting-host="78dde0aa8fcfd62296c6657e38e15b03"; logging-data="3093577"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YxkALXXCRQEI1Mf7R3aW3" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:T3jkcnM2DHhRY0LIwsh/bb56Yl8= sha1:O/dfRRozoMNK8fp9cBjjhd/NoWI= Bytes: 2015 Chris Ahlstrom writes: [...] > Stroustrup in section 23.2 of his 4th edition C++ book notes that > these two are equivalent: > > template > template > > but that for typename X, X need not be a class. X need not be a class in either case. """ You may prefer the shorter and equivalent form template. In either case, C is a type name; it need not be the name of a class. """ -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */