Re: Can Functions be written in C++ or only C?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can Functions be written in C++ or only C?
Дата
Msg-id 29316.997192925@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can Functions be written in C++ or only C?  ("Phillip J. Allen" <paallen@attglobal.net>)
Список pgsql-novice
"Phillip J. Allen" <paallen@attglobal.net> writes:
> So can I create a dynamically linked object file in C++ and reference
> it in a function?

In theory you could, but in practice it's likely to be fairly painful.
IIRC, people have reported that the backend include files are not very
C++ - clean.

BTW, if you can write C++, you can write C ... you just have to remember
which parts of the language not to use.

            regards, tom lane

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

Предыдущее
От: Einar Karttunen
Дата:
Сообщение: Re: Can Functions be written in C++ or only C?
Следующее
От: Leandro Fanzone
Дата:
Сообщение: Test