aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-06 13:11:15 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-06 15:11:47 +0200
commitbd585306e31889ee4fce60abb79bc3b3a58e2b84 (patch)
tree4250c2cf9df7fd5d6a7afe3a4b3bc127a59123fc /libs/kstd
parent2a3575a267dede6a364386c0bd6edcff92421f0d (diff)
downloadteachos-bd585306e31889ee4fce60abb79bc3b3a58e2b84.tar.xz
teachos-bd585306e31889ee4fce60abb79bc3b3a58e2b84.zip
kapi: add basic ACPI support
Diffstat (limited to 'libs/kstd')
-rw-r--r--libs/kstd/include/kstd/units7
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/kstd/include/kstd/units b/libs/kstd/include/kstd/units
index f6dcdb1..bc7e1b9 100644
--- a/libs/kstd/include/kstd/units
+++ b/libs/kstd/include/kstd/units
@@ -14,6 +14,11 @@ namespace kstd
{
using value_type = ValueType;
+ constexpr basic_unit() noexcept
+ : value{}
+ {
+ }
+
explicit constexpr basic_unit(value_type value) noexcept
: value{value}
{}
@@ -142,4 +147,4 @@ namespace kstd
} // namespace kstd
-#endif \ No newline at end of file
+#endif