Re: C++ keywords in headers (was Re: [GENERAL] #include )

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: C++ keywords in headers (was Re: [GENERAL] #include )
Дата
Msg-id 1293479926-sup-9075@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Peter Geoghegan <peter.geoghegan86@gmail.com>)
Ответы Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Excerpts from Peter Geoghegan's message of lun dic 27 16:13:33 -0300 2010:
> I hope that we don't make the mistake of not checking for collisions
> with C++0x keywords, for which GCC 4.3+ has partial support. The new
> standard is almost complete, so it will probably become a lot more
> relevant soon. There are quite a few new keywords in C++0x, including:
> 
> 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.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Reduce lock levels for ADD and DROP COLUMN
Следующее
От: Николай Ижиков
Дата:
Сообщение: Re: Archlinux, ossp-uuid