C++ Logo

liaison

Advanced search

Re: [wg14/wg21 liaison] a common C/C++ core specification

From: Jens Gustedt <jens.gustedt_at_[hidden]>
Date: Tue, 10 Mar 2020 17:51:33 +0100
Hubert,

on Tue, 10 Mar 2020 12:27:28 -0400 you (Hubert Tong
<hubert.reinterpretcast_at_[hidden]>) wrote:

> > The fourth is, that the `default` case needs a template, which we
> > obviously don't have in C and which we will probably never have, for
> > the same reasons.
> >
> Envisioning generic as a group of overloads is interesting. With C++,
> we now have abbreviated function templates, so even the non-default
> cases can be templates somewhat directly.

Probably yet another thing that I'd have to learn about C++.

> The observation that C++
> could use something like generic was the subject of a previous paper:
> https://wg21.link/p0404.

Very interesting, indeed, thanks for the link.

(Though I am not able to comprehend all of this, my C++ is probably
much too basic.)

So, from the date on that paper I guess you didn't find enough support
for this?

Thanks
Jens

-- 
:: INRIA Nancy Grand Est ::: Camus ::::::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536   ::
:: :::::::::::::::::::::: gsm France : +33 651400183   ::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Received on 2020-03-10 11:54:24