mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
Globally defined and statically checked block size for pool allocator
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
namespace uavcan
|
||||
{
|
||||
|
||||
/**
|
||||
* Usage:
|
||||
* StaticAssert<expression>::check();
|
||||
@@ -27,4 +26,10 @@ struct StaticAssert<true>
|
||||
static void check() { }
|
||||
};
|
||||
|
||||
/**
|
||||
* Usage:
|
||||
* ShowIntegerAsError<integer_expression>::foobar();
|
||||
*/
|
||||
template<long N> struct ShowIntegerAsError;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user