mbed-os/TESTS/mbedmicro-mbed
Christopher Haster ad66e488bf Added static assert macro
Added MBED_STATIC_ASSERT for compile-time assertions, results in
compile-time error if condition is false

The assertion acts as a declaration that can be placed at file scope, in
a code block (except after a label), or as a member of
a C++ class/struct/union.

Unfortunately, there does not exist a backup construct for use in
C class/struct/union contexts. An alternative macro,
MBED_STRUCT_STATIC_ASSERT provides this ability to avoid disabling
static assertions for the majority of mbed-supported C compilers.
2016-11-18 12:17:34 +00:00
..
attributes Updated deprecation notices to match branch names 2016-08-16 20:30:20 -05:00
call_before_main Adding test frameworks and test sources 2016-07-20 12:41:26 -05:00
cpp Preventing test from printing before Greentea __sync 2016-11-08 10:43:33 +00:00
div Adding test frameworks and test sources 2016-07-20 12:41:26 -05:00
static_assert Added static assert macro 2016-11-18 12:17:34 +00:00