diff options
Diffstat (limited to 'src/kernel/NeKit/Config.h')
| -rw-r--r-- | src/kernel/NeKit/Config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h index 79dbf411..e4e34e2c 100644 --- a/src/kernel/NeKit/Config.h +++ b/src/kernel/NeKit/Config.h @@ -191,6 +191,9 @@ template <class Type> struct FalseResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = false; }; @@ -199,6 +202,9 @@ template <class Type> struct TrueResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = true; }; @@ -207,6 +213,9 @@ template <class Type> struct PropertyResult final { using ResultType = Type; using ResultTypeRef = ResultType&; + using TypeRef = ResultTypeRef; + using ConstType = const Type&; + using TypePtr = Type*; static constexpr bool kValue = Type::kValue; }; |
