Make "sys/queue.h" usable with C++
Poul-Henning Kamp
phk at freebsd.org
Mon Jun 8 09:25:55 UTC 2015
--------
In message <55734622.5090808 at selasky.org>, Hans Petter Selasky writes:
>I've come up with a smarter way to do it, which I think is more
>acceptable. Simply we need to duplicate the ENTRY and HEAD macros for
>use with classes. Then use __typeof() where pointers are referred inside
>these macros. That's it.
>
>Can you checkout:
>
>https://reviews.freebsd.org/D2745
>
>And give some comments?
It's really a decision if we want to spread dependence on typeof()
to /usr/include isn't it ?
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list