A C++ template library for embedded applications
Designed and maintained by
Aster Consulting Ltd

static_assert

Either maps on to the built-in static_assert or supplies a suitable definition.

STATIC_ASSERT(condition, message);

Example

template <typename T>
void Do_This(T value)
{
  STATIC_ASSERT(etl::is_integral<T>::value, "Not an integral type");
}
static_assert.h