Use static assertions to test structure size.
Merge pull request #4 from joskuijpers/master

Use static assertions to test structure size. Technically for C++11 these types are guaranteed to be POD so the size should be correct, but I do believe that asserting their size is still important: for instance, consider the case where some foolish person accidentally changes the structures or some such thing..