Re: C++ keywords in headers (was Re: [GENERAL] #include ) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: C++ keywords in headers (was Re: [GENERAL] #include )
Date
Msg-id 4565.1293480754@sss.pgh.pa.us
Whole thread Raw
In response to Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Peter Geoghegan's message of lun dic 27 16:13:33 -0300 2010:
>> constexpr
>> decltype
>> nullptr
>> static_assert

> I think only constexpr is being currently used from this list, and it's
> easily fixed because it's not exposed beyond a single file.

If you're looking at the usage in predtest.c, it's not an issue since
it's not in a header file.  There's no ambition here to make our .c
files compilable in C++.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Николай Ижиков
Date:
Subject: Re: Archlinux, ossp-uuid
Next
From: Bruce Momjian
Date:
Subject: Re: pg_ctl and port number detection