mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Type categorization via EnableIfType - for integer info class
This commit is contained in:
parent
47a2b01a14
commit
aee9ce238e
@ -44,6 +44,10 @@ template<typename T>
|
||||
struct EnableIf<true, T> { typedef T Type; };
|
||||
|
||||
|
||||
template<typename T, typename R = void>
|
||||
struct EnableIfType { typedef R Type; };
|
||||
|
||||
|
||||
template <bool Condition, typename TrueType, typename FalseType>
|
||||
struct StaticIf;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user