C++ Logo

STD-DISCUSSION

Advanced search

Subject: Re: What makes bool{2} ill-formed?
From: Lyberta (lyberta_at_[hidden])
Date: 2020-08-07 10:36:55


Matthew Woehlke via Std-Discussion:
> `bool{2}` is invalid (narrowing) for the same reason `char{65536}` is invalid.

char{65536} is implementation-defined.




STD-DISCUSSION list run by std-discussion-owner@lists.isocpp.org

Older Archives on Google Groups