Re: unconstify()/unvolatize() vs g++/clang++ - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: unconstify()/unvolatize() vs g++/clang++
Date
Msg-id CA+hUKGJQpr2aXMF13SzHFnj5VoTnonXWvtx3dYX+wCLwybBrPg@mail.gmail.com
Whole thread Raw
In response to Re: unconstify()/unvolatize() vs g++/clang++  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Mon, Dec 11, 2023 at 11:32 PM Thomas Munro <thomas.munro@gmail.com> wrote:
> On Mon, Dec 11, 2023 at 10:17 PM Peter Eisentraut <peter@eisentraut.org> wrote:
> > If you are slightly more daring, you can write an alternative definition
> > in C++ using const_cast?
>
> Oh, yeah, right, that works for my case.   I can't think of any
> reasons not to do this, but IANAC++L.

And pushed.  Thanks!



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Sorting regression of text function result since commit 586b98fdf1aae
Next
From: Craig Ringer
Date:
Subject: Re: POC: Extension for adding distributed tracing - pg_tracing