This is an old version of the documentation. View the latest version here.
Control Surface  1.0.0
MIDI Control Surface library for Arduino
Helpers.hpp
Go to the documentation of this file.
1 /* ✔ */
2 
3 #pragma once
4 
11 template <class T>
12 struct is_unsigned {
13  constexpr static bool value = T(-1) > T(0);
14 };
is_unsigned
A utility class to check whether a given type is unsigned.
Definition: Helpers.hpp:12
is_unsigned::value
constexpr static bool value
Definition: Helpers.hpp:13