Mike Smith wrote:
> > >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 would not be very useful if it were a union; the class issue is valid
> (although you could trivially use a struct contained within a class and a
> parent reference) but definitely not a good enough argument to support
> the massive breakage this otherwise entails.

Last I knew, the only difference between "class" and "struct" was
whether the default was "public:" or "private:". Of course, C++ has
changed quite a bit since then, but...

Daniel C. Sobral                        (8-DCS)

                "Sentience hurts."

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

Reply via email to