diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-11-21 14:53:15 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-11-21 14:53:15 +0100 |
| commit | 886c920b8c943753a56ef4893e074c5754a1aa2d (patch) | |
| tree | 7a78eabc99aa422e77cd6dc9d7ada32f8e8d42ef /kapi | |
| parent | 49dcbdaaca348784d7fa05e12a06123f4dc252ec (diff) | |
| download | teachos-886c920b8c943753a56ef4893e074c5754a1aa2d.tar.xz teachos-886c920b8c943753a56ef4893e074c5754a1aa2d.zip | |
kapi: enable default construction for addresses
Diffstat (limited to 'kapi')
| -rw-r--r-- | kapi/include/kapi/memory/address.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kapi/include/kapi/memory/address.hpp b/kapi/include/kapi/memory/address.hpp index 359b5ec..19615e4 100644 --- a/kapi/include/kapi/memory/address.hpp +++ b/kapi/include/kapi/memory/address.hpp @@ -18,6 +18,8 @@ namespace teachos::memory template<address_type Type> struct address { + constexpr explicit address() noexcept = default; + constexpr explicit address(std::uintptr_t value) noexcept : m_value{value} {} |
