summaryrefslogtreecommitdiffhomepage
path: root/include/LibC++/utility.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/LibC++/utility.h')
-rw-r--r--include/LibC++/utility.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/include/LibC++/utility.h b/include/LibC++/utility.h
deleted file mode 100644
index 45000c3..0000000
--- a/include/LibC++/utility.h
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
-// Licensed under the Apache License, Version 2.0 (See accompanying
-// file LICENSE or copy at http://www.apache.org/licenses/LICENSE-2.0)
-// Official repository: https://github.com/nekernel-org/nectar
-
-#ifndef LIBCXX_UTILITY_H
-#define LIBCXX_UTILITY_H
-
-namespace std {
-/// @brief Forward object.
-/// @tparam Args the object type.
-/// @param arg the object.
-/// @return object's rvalue
-template <typename Args>
-inline auto forward(Args& arg) -> Args&& {
- return static_cast<const Args&&>(arg);
-}
-
-/// @brief Move object.
-/// @tparam Args the object type.
-/// @param arg the object.
-/// @return object's rvalue
-template <typename Args>
-inline auto move(Args&& arg) -> Args&& {
- return static_cast<Args&&>(arg);
-}
-} // namespace std
-
-#endif // LIBCXX_UTILITY_H