diff --git a/libuavcan/include/uavcan/internal/util.hpp b/libuavcan/include/uavcan/internal/util.hpp index 53f548f978..ba99ca6279 100644 --- a/libuavcan/include/uavcan/internal/util.hpp +++ b/libuavcan/include/uavcan/internal/util.hpp @@ -43,4 +43,21 @@ struct EnableIf { }; template struct EnableIf { typedef T Type; }; + +template +struct StaticIf; + +template +struct StaticIf +{ + typedef TrueType Result; +}; + +template +struct StaticIf +{ + typedef FalseType Result; +}; + + }