From 4c08db1e4a66109939181fd5224ecb324694162d Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 16 Jul 2026 11:10:23 +0200 Subject: kstd: add missing type alias --- libs/kstd/kstd/bits/shared_ptr.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs') diff --git a/libs/kstd/kstd/bits/shared_ptr.hpp b/libs/kstd/kstd/bits/shared_ptr.hpp index c82071a2..99301cbe 100644 --- a/libs/kstd/kstd/bits/shared_ptr.hpp +++ b/libs/kstd/kstd/bits/shared_ptr.hpp @@ -82,6 +82,9 @@ namespace kstd template friend struct shared_ptr; + //! The type of object referred to by this instance. + using element_type = std::remove_extent_t; + //! Construct an empty weak pointer. constexpr weak_ptr() noexcept : m_storage(nullptr) -- cgit v1.2.3