summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/unique_ptr.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-07 15:30:08 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-07 15:30:08 -0500
commita2987feb8cb486c2ff124669190c1abd4e80a8f9 (patch)
tree5970f9fae53f9f95ae897ea787f3b6ed52fc1a4a /include/ocl/unique_ptr.hpp
parentacab3c4d9e5181dbd16790b9e2eb787d30bd946f (diff)
chore: public API improvements of the core module. new headers in WiP.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/unique_ptr.hpp')
-rw-r--r--include/ocl/unique_ptr.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/ocl/unique_ptr.hpp b/include/ocl/unique_ptr.hpp
new file mode 100644
index 0000000..253fc0a
--- /dev/null
+++ b/include/ocl/unique_ptr.hpp
@@ -0,0 +1,20 @@
+/*
+ * File: unique_pr.hpp
+ * Purpose: Unique Pointer helpers.
+ * Author: Amlal El Mahrouss (amlal@nekernel.org)
+ * Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License. Licensed under the BSL 1.0 license
+ */
+
+#ifndef __OCL_UNIQUE_PTR
+#define __OCL_UNIQUE_PTR
+
+#include <ocl/detail/config.hpp>
+#include <memory>
+
+namespace ocl
+{
+ template<class T, class Del>
+ using unique_ptr = std::unique_ptr<T, Del>;
+}
+
+#endif // ifndef __OCL_UNIQUE_PTR \ No newline at end of file