Re: [PATCH 0/5] cppmagic: Preprocessor tricks
David Gibson <[email protected]> Sat, 30 Jan 2016 23:51:09 +1100
| Newsgroups | org.ozlabs.lists.ccan |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jan 27, 2016 at 10:39:56PM +1100, David Gibson wrote: > ccan already has cpp macros used in some interesting ways. This > module is far more interesting.. or possibly horrifying. > > It includes some very fancy preprocessor techniques described in the > article at: > http://jhnet.co.uk/articles/cpp_magic > > This includes preprocessing time evaluated conditionals, (sort of) > recursion and iteration across the parameters of varargs macros. No comments so far. Unless there's an objection in the next couple of days, I'll commit this myself. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson _______________________________________________ ccan mailing list [email protected] https://lists.ozlabs.org/listinfo/ccan
signature.asc
(application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWrLG9AAoJEGw4ysog2bOSndMQANuavZ1kztZguorwAnleLxcn RPtOtbwiZW5lxBTfHfJ5j9M5qUAmxtmV9dXcZRWN+6VyBfmWAo4ZGdMmxDXN+IR1 Pc3LOW1tDqVJqEo1uYKFrm08Fo2TCQhamOy3DnsZBQXyr7GK4IPOSzWxw+mtNd+h cGaET5QxOjLt0XlnV9qd14ze1LxwloW5ZnIgpES2vezRNsORzJ+whCxf/FQgMMz9 /paAyMiJO72o15EMWeBtHR3tlkoCfH5N/65cl1gJkG7oXPGNP/hCCMQKD6YoWdWm o7+AbAtbtMKGwaUot9lZmyiqGBFt+8R38yF7FpHKt1ycdQmKHsN55ZNTgXTlwrDZ d85N1YM9EtOHTL0nASpSV5oqq9EeGl6nSPX+y4bNQLMEydXe/7i8AQAQHzdDHYg4 +UztsJikVqhDG505j7yKwtmM3yeKqQLegVQCQJ9hk6NP9IbtnTdInO/kQPMSl5Gp NUJLvJPK/JZ94q39xEpOARDvTj9fbQkDlWBY+clT4WKpAkxn0DIVR4Do/vQUmWeg krljplrwq7ts/d1sBLNY7rIoYTXcSIGx4u3ykK5a616rcBuuYWIrn97rARqLL7IM 9rmnOj6Lx1KvTkkyCavbLXwiHvvtRXjrYCLmVcqn58AnsgZO+COl4p/ptqgTDDIq I85WU2dSsz4FahYsazmx =HNTB -----END PGP SIGNATURE-----