diff options
author | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-09-25 11:49:40 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-09-25 11:49:40 -0500 |
commit | 4544f3def42ae9b8c528223d8762ae3634c7124a (patch) | |
tree | 21fa1ea3b3e9e6aa57d44110eec07b712650f6fc /util | |
parent | 6598241f2c188ba6f4ce035d9e1fbdd4619c7e00 (diff) | |
download | gem5-4544f3def42ae9b8c528223d8762ae3634c7124a.tar.xz |
base: Check for static_assert support and provide fallback
C++11 has support for static_asserts to provide compile-time assertion
checking. This is very useful when testing, for example, structure
sizes to make sure that the compiler got the right alignment or vector
sizes.
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions