Re: SPI-header-files safe for C++-compiler

Поиск
Список
Период
Сортировка
От Chuck McDevitt
Тема Re: SPI-header-files safe for C++-compiler
Дата
Msg-id EB48EBF3B239E948AC1E3F3780CF8F880244ED84@MI8NYCMAIL02.Mi8.com
обсуждение исходный текст
Ответ на Re: SPI-header-files safe for C++-compiler  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
>
> BTW, one problem I didn't understand at all was that g++ spit up on
> bitand() and bitor() as function names.  Those are not C++ keywords
> to my knowledge; anyone have a theory?
>

I forgot these c++ keywords, as you never need to use them in a c++
program:

and      bitand   compl   not_eq   or_eq   xor_eq
and_eq   bitor    not     or       xor


They are equivalents of the operators for use on systems that don't have
full character set support.
Bitand is the same as &, and bitor is the same as |




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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Warm standby patch
Следующее
От: "Jacob Rief"
Дата:
Сообщение: Re: SPI-header-files safe for C++-compiler