Groups | Search | Server Info | Login | Register
Groups > comp.lang.c++ > #123801
| From | Keith Thompson <Keith.S.Thompson+u@gmail.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for |
| Date | 2026-05-10 03:30 -0700 |
| Organization | None to speak of |
| Message-ID | <10tpmnv$a1ls$2@kst.eternal-september.org> (permalink) |
| References | <10tmmrp$3fobc$1@dont-email.me> <10tn5tm$3j9oi$2@dont-email.me> <10tni0q$3osnh$1@dont-email.me> <87v7cvbrjr.fsf@nightsong.com> |
Paul Rubin <no.email@nospam.invalid> writes:
[...]
>>> - Concepts. (Cool, but most of you won't ever write one.)
>
> I haven't used them in C++, but in Haskell they're called "type classes"
> and people write them all the time. They are important. Does Ada have
> something similar? In C++ it might be that writing them is done mostly
> by library implementers. But then they help the users by decreasing the
> hellishness of templated classes.
Yes, Ada has something similar. C++ concepts are a (new) way to
specify constraints on template arguments. Ada has had that as an
inherent part of its generics feature since the beginning, in the
form of generic formal parameters.
[...]
--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar
"Herb Sutter: Why C++ Is Growing and What C++26 Means for Production Systems " Lynn McGuire <lynnmcguire5@gmail.com> - 2026-05-09 02:13 -0500
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Production Systems " Chris Ahlstrom <OFeem1987@teleworm.us> - 2026-05-09 07:31 -0400
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for boltar@caprica.universe - 2026-05-09 14:57 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Nioclás Pól Caileán de Ghloucester <thanks-to@Taf.com> - 2026-05-09 21:57 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Paul Rubin <no.email@nospam.invalid> - 2026-05-10 01:24 -0700
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-05-10 03:30 -0700
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for boltar@caprica.universe - 2026-05-10 15:44 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Nioclás Pól Caileán de Ghloucester <thanks-to@Taf.com> - 2026-05-10 20:24 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for geodandw <geodandw@gmail.com> - 2026-05-10 17:52 -0400
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for kalevi@kolttonen.fi (Kalevi Kolttonen) - 2026-05-10 22:07 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Nioclás Pól Caileán de Ghloucester <thanks-to@Taf.com> - 2026-05-11 08:00 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for boltar@caprica.universe - 2026-05-11 08:22 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for "Luke A. Guest" <laguest@archeia.com> - 2026-05-11 12:20 +0100
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for boltar@caprica.universe - 2026-05-11 15:08 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for "J-P. Rosen" <rosen@adalog.fr> - 2026-05-11 16:16 +0200
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-12 02:21 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Björn Persson <Bjorn@xn--rombobjrn-67a.se> - 2026-05-11 19:44 +0200
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-05-11 22:33 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for scott@slp53.sl.home (Scott Lurndal) - 2026-05-10 16:08 +0000
Re: "Herb Sutter: Why C++ Is Growing and What C++26 Means for David Brown <david.brown@hesbynett.no> - 2026-05-10 18:36 +0200
csiph-web