Re: [GENERAL] C++ port of Postgres

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: [GENERAL] C++ port of Postgres
Дата
Msg-id 87a8gbjtxr.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Re: [GENERAL] C++ port of Postgres  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [GENERAL] C++ port of Postgres  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
>>>>> "Robert" == Robert Haas <robertmhaas@gmail.com> writes:
Robert> Hmm, so sizeof() has different semantics in C vs. C++?

No. '1' has different semantics in C vs C++. (In C, '1' is an int,
whereas in C++ it's a char. It so happens that (sizeof '1') is the only
case which is valid in both C and C++ where this makes a difference.)

-- 
Andrew (irc:RhodiumToad)



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: PATCH: Exclude additional directories in pg_basebackup
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [Patch] RBTree iteration interface improvement