From a155e6f8591d20eeea0e4631daacb4654fe210fa Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Fri, 21 Feb 2014 15:58:19 +0400 Subject: [PATCH] StaticIf - needed for standard types --- libuavcan/include/uavcan/internal/util.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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; +}; + + }