[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEg-Je9ahyp+asVHCcMr7KXYqDRzxJnQmqYcz1V+LH3ZEfT+Ww@mail.gmail.com>
Date: Thu, 11 Jan 2024 05:58:51 -0500
From: Neal Gompa <neal@...pa.dev>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: "H. Peter Anvin" <hpa@...or.com>, Jason Gunthorpe <jgg@...dia.com>, jirislaby@...nel.org,
dhowells@...hat.com, linux-kernel@...r.kernel.org, pinskia@...il.com,
kent.overstreet@...ux.dev
Subject: Re: [PATCH 00/45] C++: Convert the kernel to C++
On Thu, Jan 11, 2024 at 5:56 AM Alexey Dobriyan <adobriyan@...il.com> wrote:
>
> > SFINAE giving inscrutable errors is why I'm saying C++20,
> > since "concept" means you can get usable error messages.
>
> I'd say concepts are irrelevant for the kernel where standard library is
> tightly controlled by the same people who write rest of the kernel and
> no external users.
>
> static_assert() is all you need.
We have external users all the time, though. People who write external
modules or new modules would fall in that classification. Why should
it be harder for them?
--
真実はいつも一つ!/ Always, there's only one truth!
Powered by blists - more mailing lists