A C++ template library for embedded applications
MIT licensed
Designed and
maintained by
John Wellbelove
Support the development
of the ETL

is_negative



Allows a parameter of type T to be checked for a positive or negative value, while eliminating compiler warnings for
checking < 0 for unsigned types.

template <typename T>
ETL_CONSTEXPR bool is_negative(const T value)
negative.h

WYSIWYG Web Builder