/* ------------------------------------------- \ Copyright (C) 2024-2025 Amlal El Mahrouss, all rights reserved. \ \ ------------------------------------------- */ #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 inline Args&& forward(Args& arg) { return static_cast(arg); } /// @brief Move object. /// @tparam Args the object type. /// @param arg the object. /// @return object's rvalue template inline Args&& move(Args&& arg) { return static_cast(arg); } } // namespace std #endif // LIBCXX_UTILITY_H