summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/NeKit/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/NeKit/Config.h')
-rw-r--r--src/kernel/NeKit/Config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/NeKit/Config.h b/src/kernel/NeKit/Config.h
index 900ea28c..7cf01a2c 100644
--- a/src/kernel/NeKit/Config.h
+++ b/src/kernel/NeKit/Config.h
@@ -203,4 +203,12 @@ struct TrueResult final {
static constexpr bool kValue = true;
};
+
+template <class Type>
+struct PropertyResult final {
+ using ResultType = Type;
+ using ResultTypeRef = ResultType&;
+
+ static constexpr bool kValue = Type::kValue;
+};
} // namespace Kernel