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 10:32:52
Message-ID: CA+hUKGL5T=Pxspvts+we5SkNNkzqwzkOMa8W9sXLwoDhdFf4BQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Attachment Content-Type Size
0001-Define-unconstify-and-unvolatize-for-C.patch application/octet-stream 1.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Junwang Zhao 2023-12-11 10:44:39 Re: Make COPY format extendable: Extract COPY TO format implementations
Previous Message Michael Paquier 2023-12-11 10:19:40 Re: Make COPY format extendable: Extract COPY TO format implementations