summaryrefslogtreecommitdiffhomepage
path: root/draft/wg01/cpp_kernel_dev.tex
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-03 12:24:13 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-03 12:24:13 -0500
commit4a8379c26816a23a4492c84b4fd7a1330043edd2 (patch)
tree44ded71ecdbfa320f6b56d3097695241d746c64e /draft/wg01/cpp_kernel_dev.tex
parent316ed3b1d67163c489ec1638d0904edb7072adc2 (diff)
chore: quick grammar fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'draft/wg01/cpp_kernel_dev.tex')
-rw-r--r--draft/wg01/cpp_kernel_dev.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/draft/wg01/cpp_kernel_dev.tex b/draft/wg01/cpp_kernel_dev.tex
index 7b5c4db..71afb7d 100644
--- a/draft/wg01/cpp_kernel_dev.tex
+++ b/draft/wg01/cpp_kernel_dev.tex
@@ -59,9 +59,9 @@ struct MemoryTree final {
};
\end{lstlisting}
-As you can see these two structure
+As you can see these two structures
leverages the `constexpr' keyword to make sure
-no bugs or panic occurs at runtime\\because of a misuse of a system resource. \\
+no bugs or panic occur at runtime because of a misuse of a system resource. \\
Which is why the constexpr keyword is very powerful here, we avoid the many pitfalls of writing (and hoping) that the C version will be well-thought enough so that we can catch such bugs later.
@@ -95,7 +95,7 @@ consteval void ce_ddk_is_valid(T) {}
\subsection{Part Three: Memory and C++ Classes}
{
-This last part treats about the final and most important part of this paper so far. Memory. As you may already have known, the C++ language dress a class lookup system (also called v-table) in order to refer to a base method in case if the instance has it missing.
+This last part treats about the final and most important part of this paper so far. Memory. As you may already have known, the C++ language uses a class lookup system (also called v-table) in order to refer to a base method in case if the instance has it missing.
\begin{lstlisting}
/// Link: https://godbolt.org/z/q3Wceannr