Make typeof and typeof_unqual fallback definitions work on C++11
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-15T06:36:27Z
Releases:
19 (unreleased)
Make typeof and typeof_unqual fallback definitions work on C++11 These macros were unintentionally using C++14 features. This replaces them with valid C++11 code. Tested locally by compiling with -std=c++11 (which reproduced the original issue). Author: Jelte Fennema-Nio <postgres@jeltef.nl> Discussion: https://www.postgresql.org/message-id/flat/92f9750f-c7f6-42d8-9a4a-85a3cbe808f3%40eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/include/c.h | modified | +2 −2 |
Discussion
- Change copyObject() to use typeof_unqual 31 messages · 2026-01-20 → 2026-06-17