Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> writes:
> I propose to add an equivalent to unconstify() for volatile. When
> working on this, I picked the name unvolatize() mostly as a joke, but it
> appears it's a real word. Other ideas?
Umm ... wouldn't this amount to papering over actual bugs? I can
think of legitimate reasons to cast away const, but casting away
volatile seems pretty dangerous, and not something to encourage
by making it notationally easy.
regards, tom lane