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 > > >SLIST_ENTRY(). > > > > 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) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] "Sentience hurts." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
- HEADS UP Re: cvs commit: src/crypto/openssh/pam_ssh pam_... Jake Burkholder
- Re: HEADS UP Re: cvs commit: src/crypto/openssh/pam... Chuck Robey
- Re: HEADS UP Re: cvs commit: src/crypto/openssh... Jake Burkholder
- Re: HEADS UP Re: cvs commit: src/crypto/ope... Garrett Wollman
- Re: HEADS UP Re: cvs commit: src/crypto... Bruce Evans
- Re: HEADS UP Re: cvs commit: src/c... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commit: s... Mike Smith
- Re: HEADS UP Re: cvs commi... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commi... Jake Burkholder
- Re: HEADS UP Re: cvs commi... Mike Smith
- Re: HEADS UP Re: cvs commi... Daniel C. Sobral
- Re: HEADS UP Re: cvs commi... Warner Losh
- Re: HEADS UP Re: cvs commit: s... Garrett Wollman
- Re: HEADS UP Re: cvs commit: s... Bruce Evans
- Re: HEADS UP Re: cvs commit: src/crypto... Julian Elischer
- Re: HEADS UP Re: cvs commit: src/crypto... Archie Cobbs
- Re: HEADS UP Re: cvs commit: src/c... Mike Smith
- Re: HEADS UP Re: cvs commit: s... Jake Burkholder
- Re: HEADS UP Re: cvs commit: s... Poul-Henning Kamp
- Re: HEADS UP Re: cvs commit: ... Change to queue(3) Garance A Drosihn
- Re: HEADS UP Re: cvs commit: src/crypto/openssh/pam... Warner Losh