Re: unconstify()/unvolatize() vs g++/clang++

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unconstify()/unvolatize() vs g++/clang++
Date: 2023-12-11 20:49:34
Message-ID: CA+hUKGJQpr2aXMF13SzHFnj5VoTnonXWvtx3dYX+wCLwybBrPg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Dec 11, 2023 at 11:32 PM Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> On Mon, Dec 11, 2023 at 10:17 PM Peter Eisentraut <peter(at)eisentraut(dot)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!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2023-12-11 21:51:17 Re: POC: Extension for adding distributed tracing - pg_tracing
Previous Message Tom Lane 2023-12-11 20:43:12 Re: Sorting regression of text function result since commit 586b98fdf1aae