diff options
Diffstat (limited to 'include/CoreRuntimeKit/C++/utility.hpp')
| -rw-r--r-- | include/CoreRuntimeKit/C++/utility.hpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/CoreRuntimeKit/C++/utility.hpp b/include/CoreRuntimeKit/C++/utility.hpp deleted file mode 100644 index a427c44..0000000 --- a/include/CoreRuntimeKit/C++/utility.hpp +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: Apache-2.0 -// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org) -// Licensed under the Apache License, Version 2.0 (see LICENSE file) -// Official repository: https://github.com/ne-foss-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 |
