Review Board 2.0.15


base: Check for static_assert support and provide fallback

Review Request #1399 - Created Sept. 7, 2012 and submitted

Information
Ali Saidi
gem5
default
Reviewers
Default
Changeset 9203:51de398e0ea5
---------------------------
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.

   

Issue Summary

4 1 2 1
Description From Last Updated Status
Shouldn't this just be in an anonymous namespace? Nathan Binkert Sept. 10, 2012, 11:17 a.m. Open
Review request changed
Updated (Oct. 1, 2012, 8:08 a.m.)

Status: Closed (submitted)