C++ Logo

std-proposals

Advanced search

Re: Two small ideas

From: Paul Fee <paul.f.fee_at_[hidden]>
Date: Wed, 8 Dec 2021 09:38:40 +0000
On Wed, Dec 8, 2021 at 12:43 AM Bill Kerney via Std-Proposals <
std-proposals_at_[hidden]> wrote:

>
> 2) IMO, this should not compile:
>
> string s = 0;
>

Have a look at C++23's P2166R1. It addresses this and is implemented in
the upcoming GCC 12 and Clang 14.

https://wg21.link/p2166
https://en.cppreference.com/w/cpp/compiler_support

Received on 2021-12-08 03:38:53