- Switched back to custom window management, taking another stab

- Refactored lang yet again, `fennec/lang` is now C++ language. `fennec/string` `fennec/filesystem` and `fennec/format` are now independent.
This commit is contained in:
2025-12-04 01:04:36 -05:00
parent d928d86014
commit 6d58105734
137 changed files with 15651 additions and 510 deletions

View File

@@ -19,7 +19,7 @@
#ifndef FENNEC_MEMORY_POINTERS_H
#define FENNEC_MEMORY_POINTERS_H
#include <fennec/langcpp/type_traits.h>
#include <fennec/lang/type_traits.h>
namespace fennec
{
@@ -109,16 +109,7 @@ public:
/// \brief Pointer Constructor, creates a unique_ptr that owns `ptr` with deleter `del`
/// \param ptr The resource to own
/// \param del The deleter
explicit constexpr unique_ptr(pointer_t ptr, const delete_t& del)
: _delete(del)
, _handle(ptr) {
}
///
/// \brief Pointer Constructor, creates a unique_ptr that owns `ptr` with deleter `del`
/// \param ptr The resource to own
/// \param del The deleter
explicit constexpr unique_ptr(pointer_t ptr, delete_t&& del = delete_t())
explicit constexpr unique_ptr(pointer_t ptr, const delete_t& del = delete_t())
: _delete(del)
, _handle(ptr) {
}