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

From Thomas Munro
Subject Re: unconstify()/unvolatize() vs g++/clang++
Date
Msg-id CA+hUKGL5T=Pxspvts+we5SkNNkzqwzkOMa8W9sXLwoDhdFf4BQ@mail.gmail.com
Whole thread Raw
In response to Re: unconstify()/unvolatize() vs g++/clang++  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: unconstify()/unvolatize() vs g++/clang++
List pgsql-hackers
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.

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Junwang Zhao
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations