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

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: C++ keywords in headers (was Re: [GENERAL] #include )
Дата
Msg-id AANLkTinO-5sTeTcdQ6b2SOa0YK4eB0YeZb1MmXMAmHv1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: C++ keywords in headers (was Re: [GENERAL] #include )  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
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

Perhaps we should add -std=c++0x to the g++ command in
cpluspluscheck.sh . Since C++0x is “almost 100-percent compatible with
the existing Standard C++”  according to no less an authority than
Bjarne Stroustrup, this seems sensible.

--
Regards,
Peter Geoghegan


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: and it's not a bunny rabbit, either
Следующее
От: Tom Lane
Дата:
Сообщение: Re: C++ keywords in headers (was Re: [GENERAL] #include )