A C++ template library for embedded applications
MIT licensed
Join the ETL community
Designed and
maintained by
John Wellbelove
Like the ETL? Become a patron!
or

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>
bool is_negative(const T value)
negative.h