C++ Logo

std-proposals

Advanced search

Re: C - Allow underscores in numberic constants

From: Andrey Semashev <andrey.semashev_at_[hidden]>
Date: Thu, 5 Mar 2020 04:06:39 +0300
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.

Received on 2020-03-04 19:09:27