On 2/25/21 4:20 PM, Marek Polacek wrote:
On Wed, Feb 24, 2021 at 10:32:59PM -0500, Jason Merrill wrote:
On 2/24/21 5:34 PM, Marek Polacek wrote:
Here we reject
constexpr const int *p = nullptr;
constexpr int *q = const_cast(p);
with "conversion of 'const int*' null pointer to 'int*' i
On Wed, Feb 24, 2021 at 10:32:59PM -0500, Jason Merrill wrote:
> On 2/24/21 5:34 PM, Marek Polacek wrote:
> > Here we reject
> >
> >constexpr const int *p = nullptr;
> >constexpr int *q = const_cast(p);
> >
> > with "conversion of 'const int*' null pointer to 'int*' is not a
> > constant