Globally defined and statically checked block size for pool allocator

This commit is contained in:
Pavel Kirienko
2014-02-04 20:16:50 +04:00
parent 832f0395bd
commit f91d8090c9
5 changed files with 47 additions and 11 deletions
@@ -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;
}