svn commit: r228478 - head/sys/sys

Ed Schouten ed at 80386.nl
Tue Dec 13 20:11:13 UTC 2011


* Bjoern A. Zeeb <bzeeb-lists at lists.zabbadoz.net>, 20111213 21:06:
> Cool, can we have a second variant with a custom error message?

Yes; just use _Static_assert for that! It won't print the custom error
message right now, but as soon as compilers implement C1X, it will work
for you.

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20111213/484c7d57/attachment.pgp


More information about the svn-src-head mailing list