- testing for current threading structures

This commit is contained in:
2025-12-20 17:35:54 -05:00
parent 9f499c933d
commit 1f6637408d
14 changed files with 360 additions and 44 deletions

View File

@@ -141,8 +141,7 @@ public:
/// \returns a reference to self
constexpr unique_ptr& operator=(unique_ptr&& r) noexcept {
_delete = r._delete;
_handle = r._handle;
r._handle = nullptr;
fennec::swap(_handle, r._handle);
return *this;
}
@@ -206,6 +205,9 @@ public:
return _handle != nullptr;
}
element_t& operator*() const {
return *_handle;
}
private:
delete_t _delete;