summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-20 22:36:02 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-20 22:36:02 +0100
commit5f110c1d1b6d3af193e2d490985ccda302a5ec2c (patch)
tree5b861bcac0b0a00196b5e421389760c42b0b3238 /source
parent95cec022e893359352cb3b4be7c3aed18aeac76b (diff)
chore: WG01 paper update.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'source')
-rw-r--r--source/wg01/wg01.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/wg01/wg01.tex b/source/wg01/wg01.tex
index d74db20..769208e 100644
--- a/source/wg01/wg01.tex
+++ b/source/wg01/wg01.tex
@@ -122,7 +122,7 @@ inline constexpr auto kInvalidType = 0;
template <class Driver>
concept IsValidDriver = requires(Driver drv) {
- { drv.IsActive() && drv.Type() > kInvalidType };
+ { static_assert(drv.IsActive() && drv.Type() > kInvalidType, "Driver is not valid for usage.") };
};
\end{lstlisting} Source: \href{https://github.com/nekernel-org/nekernel/blob/develop/src/libDDK/DriverKit/c%2B%2B/driver_base.h}{Link}.\\ Now, the problem with freestanding development is that such feature may be abused, and it is mitigated by following the TTPI.