On Thu, 25 May 2000, Poul-Henning Kamp wrote:

> In message <[EMAIL PROTECTED]>, Bruce Evans
>  writes:
> >I objected to a recent commit hiding the fact that this is
> >"(elm)->field.sle_next".  Anyway, curelm must be a pointer to a struct.
> >Not just any struct; the struct must contain a "field" declared using
> It could be an union or class as well...

It couldn't (usefully) be a union, because then there would be no space
in the object for more than the list pointers.

It would be a style bug for it to be a class, since if you have classes
then you have C++ (or maybe objc) and then you should use C++ features
and not cpp macro hacks to implement queue.

It would be a style bug for it to be a typedef'ed struct type, since
struct types shouldn't be typedefed (see style(9)).


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to