diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-15 17:22:51 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-15 17:24:59 +0100 |
| commit | 79090c31b60c95dcabd4572031353c9e0f54fc67 (patch) | |
| tree | 5d8c7ccedfb040ab28c4f855f438d73b593e8c74 /src/kernel/NeKit/Config.h | |
| parent | 0b11c0cdac02f67dba3c55b97269edba212906ed (diff) | |
feat: new properties and improved vettable system.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/NeKit/Config.h')
| -rw-r--r-- | src/kernel/NeKit/Config.h | 8 |
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 |
