Re: unconstify()/unvolatize() vs g++/clang++
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-12-11T20:49:34Z
Lists: 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!
Commits
-
Define unconstify() and unvolatize() for C++.
- baf7c93ed583 17.0 landed