Re: ANSI-strict pointer aliasing rules

Поиск
Список
Период
Сортировка
От Taral
Тема Re: ANSI-strict pointer aliasing rules
Дата
Msg-id fa0147d90604271010n3dca44f1t88a05fa39ec274f@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ANSI-strict pointer aliasing rules  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ANSI-strict pointer aliasing rules  (Taral <taralx@gmail.com>)
Список pgsql-hackers
On 4/27/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Greg Stark <gsstark@mit.edu> writes:
> > There are other ways of achieving the same thing. Structs containing a union
> > for the subclass fields for example.
>
> Doesn't achieve the same thing, unless you mandate that every part of
> the system use the identical massively-overloaded union struct to refer
> to every node.

If we do subclassing like this:

struct Node { ... };
struct Value { struct Node; ... };
etc.

do we still run into the alias problem?

--
Taral <taralx@gmail.com>
"You can't prove anything."   -- Gödel's Incompetence Theorem


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

Предыдущее
От: Taral
Дата:
Сообщение: Re: ANSI-strict pointer aliasing rules
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: GIN - Generalized Inverted iNdex. Try 3.