C++ Logo

sg7

Advanced search

Re: [SG7] [isocpp-ext] CWG1962+CWG2362 type of __func__ / __func__ should be constexpr

From: Gabriel Dos Reis <gdr_at_[hidden]>
Date: Wed, 29 Apr 2020 00:14:10 +0000
| -----Original Message-----
| From: Ext <ext-bounces_at_[hidden]> On Behalf Of Bjarne Stroustrup via
| Ext
| Sent: Tuesday, April 28, 2020 2:14 PM
| To: ext_at_[hidden]
| Cc: Bjarne Stroustrup <bjarne_at_[hidden]>; sg7_at_[hidden]
| Subject: Re: [isocpp-ext] CWG1962+CWG2362 type of __func__ / __func__
| should be constexpr
|
|
| On 4/28/2020 5:11 PM, Herring, Davis via Ext wrote:
| >>>> Using the details below, I'd like y'all to consider: do we want to
| >>>> fix this issue, or leave it as-is because better mechanisms will
| >>>> eventually lead us to deprecate __func__?
| >>> Leave it alone.
| >> +1
| >>
| >> Stability/compatibility is a major feature.
| > I have trouble interpreting the above exchange. You're agreeing with
| "leave it alone", which sounds like JF's option "leave it as-is because better
| mechanisms will eventually lead us to deprecate __func__". That plan
| doesn't sound like "[s]tability/compatibility"; did you mean never to
| deprecate it?
| >
| > Meanwhile, the whole issue here is a question of compatibility between
| (versions of) implementations, where there is known significant divergence;
| is the "major feature" compatibility between those implementations in the
| future, or is it bug-compatibility with their current states?
|
| I didn't realize that. Sorry. I saw a potential C incompatibility.

The potential for C incompatibility for a feature adopted from C for compatibility strikes me as unwise.

If WG21 thinks it has a superior alternative, it should provide that and leave __func__ to WG14.

-- Gaby

|
|
| >
| > Davis
| > _______________________________________________
| > Ext mailing list
| > Ext_at_[hidden]
| > Subscription:
| https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furld
| efense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-
| 3A__lists.isocpp.org_mailman_listinfo.cgi_ext%26d%3DDwICAg%26c%3Du6
| LDEWzohnDQ01ySGnxMzg%26r%3D-
| ypbxfA15hWRWp5mAlnCkA%26m%3DS6iNMVnwPesWYDdKS3lRPX4rHeK-
| y6oo7gSIAREPhgY%26s%3Dys4_r4YsKeEMYDpbn0Puq-7-
| 7xM3RACHS5P0XqXBcx0%26e%3D&amp;data=02%7C01%7Cgdr%40microsof
| t.com%7C3603d2a50b8c4ba1981008d7ebb90dd7%7C72f988bf86f141af91ab
| 2d7cd011db47%7C1%7C0%7C637237052341265671&amp;sdata=AxaM6d9Q
| 0wNlHJDBYowfYd7QHUhjxGZMVsT%2F68Ivxz4%3D&amp;reserved=0
| > Link to this post:
| https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Furld
| efense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-
| 3A__lists.isocpp.org_ext_2020_04_13430.php%26d%3DDwICAg%26c%3Du6
| LDEWzohnDQ01ySGnxMzg%26r%3D-
| ypbxfA15hWRWp5mAlnCkA%26m%3DS6iNMVnwPesWYDdKS3lRPX4rHeK-
| y6oo7gSIAREPhgY%26s%3DQ7kGOc4vo3hItw9G0zbJByvm3ELPJfl7tfIYufi4Izo
| %26e%3D&amp;data=02%7C01%7Cgdr%40microsoft.com%7C3603d2a50b8
| c4ba1981008d7ebb90dd7%7C72f988bf86f141af91ab2d7cd011db47%7C1%7
| C0%7C637237052341265671&amp;sdata=k8GpiRDB%2BORdKfYJVejpvQ2H%
| 2Bo0Bb0goxQCDEZ5wweQ%3D&amp;reserved=0
| _______________________________________________
| Ext mailing list
| Ext_at_[hidden]
| Subscription:
| https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.
| isocpp.org%2Fmailman%2Flistinfo.cgi%2Fext&amp;data=02%7C01%7Cgdr%
| 40microsoft.com%7C3603d2a50b8c4ba1981008d7ebb90dd7%7C72f988bf86
| f141af91ab2d7cd011db47%7C1%7C0%7C637237052341265671&amp;sdata
| =GL5HMapu9%2Fqbe%2BbUWWekOibziolqi5mCF7Zd77hO2R4%3D&amp;res
| erved=0
| Link to this post:
| https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.i
| socpp.org%2Fext%2F2020%2F04%2F13431.php&amp;data=02%7C01%7Cgdr
| %40microsoft.com%7C3603d2a50b8c4ba1981008d7ebb90dd7%7C72f988bf
| 86f141af91ab2d7cd011db47%7C1%7C0%7C637237052341265671&amp;sda
| ta=ikObqPLas%2FLqA%2FNVFoQZ34rjR7puFLh93v71t%2BIw%2F8o%3D&amp
| ;reserved=0

Received on 2020-04-28 19:17:18