summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/core/handler.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-30 07:09:34 -0500
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-30 07:09:34 -0500
commitf8f05ded6a1da18052a6154393710d55ff6ce8bd (patch)
tree346acdde979cbc455146a5e5cbba3453412e4280 /include/ocl/core/handler.hpp
parent82772695a621f7f07ce654f676d14ca70b908e63 (diff)
chore: new improvements over the previous impelemntations of allocator_op.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/core/handler.hpp')
-rw-r--r--include/ocl/core/handler.hpp42
1 files changed, 0 insertions, 42 deletions
diff --git a/include/ocl/core/handler.hpp b/include/ocl/core/handler.hpp
deleted file mode 100644
index e31f0d4..0000000
--- a/include/ocl/core/handler.hpp
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * File: core/handler.hpp
- * Purpose: Handler container.
- * Author: Amlal El Mahrouss (amlal@nekernel.org)
- * Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License.
- */
-
-#ifndef _OCL_ERROR_HANDLER_HPP
-#define _OCL_ERROR_HANDLER_HPP
-
-#include <core/config.hpp>
-#include <io/print.hpp>
-#include <exception>
-
-namespace ocl
-{
- struct handler;
-
- struct handler
- {
- private:
- template <typename T>
- void handle_impl(T element) {}
-
- public:
- using error_type = std::exception;
-
- explicit handler() = default;
- virtual ~handler() = default;
-
- handler& operator=(const handler&) = default;
- handler(const handler&) = default;
-
- template <typename T>
- void operator()(T element)
- {
- this->handle_impl<T>(element);
- }
- };
-} // namespace ocl
-
-#endif // ifndef _OCL_ERROR_HANDLER_HPP