On Tue, Apr 28, 2015 at 05:47:42AM -0400, Marc-André Lureau wrote: > Eventually, a static_assert could also help to catch if the enum has the same size as the array. Yup, this is what I was about to suggest. Christophe
Attachment:
pgpnx5pMj1WUq.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel