Re: const correctness

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: const correctness
Дата
Msg-id 13262.1320955622@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: const correctness  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On ons, 2011-11-09 at 10:49 -0500, Tom Lane wrote:
>> Now admittedly you can hack it, in the same
>> spirit as the C library functions that are declared to take const
>> pointers and return non-const pointers to the very same data 

> Which C library functions do that?

strchr() is the classic example, but I believe there are some others.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: foreign key locks, 2nd attempt
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump 9.1.1 hanging (collectSecLabels gets 0 labels)