C++ Logo


Advanced search

Subject: Re: [std-proposals] C - Allow underscores in numberic constants
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2020-03-04 19:06:39

On 2020-03-05 03:28, J Decker via Std-Proposals wrote:
> Allow '_' to be found in a number token, and ignored for generating the
> resulting token.  Allow specifying numbers with underscores like
> 0x1234_5678; 123_534.000_003 ; can include trailing underscores, and
> just terminate on the next whitespace or operator...

C++ already has support for separators, only with a different character.

STD-PROPOSALS list run by herb.sutter at gmail.com

Standard Proposals Archives on Google Groups