Credit to @SeekyCt and @CLF78 for the guidance. Static asserts are primarily useful in ensuring that the size of a class stays the same, and that the offset of a member is correct. Static assertion fails will yield an error, but they can be drowned in a sea of "undefined identifier" and "data object redefined". To counteract this, the default build will only show one error, unless we give the --full_errors flag to configure.py.
Credit to @SeekyCt and @CLF78 for the guidance. Static asserts are primarily useful in ensuring that the size of a class stays the same, and that the offset of a member is correct. Static assertion fails will yield an error, but they can be drowned in a sea of "undefined identifier" and "data object redefined". To counteract this, the default build will only show one error, unless we give the
--full_errors
flag to configure.py.