diff --git a/test/common_helper/test.hpp b/test/common_helper/test.hpp index 9677502..3186d75 100644 --- a/test/common_helper/test.hpp +++ b/test/common_helper/test.hpp @@ -20,6 +20,8 @@ template consteval std::size_t c_arr_len(T (&arr)[N]) { return N; } +constexpr auto make_copy(auto& value) -> std::remove_cvref_t { return value; } + #define ADD_TYPE_HINT(type) template <> constexpr const char* const to_type_hint_str::value = #type #define TEST_FAIL(msg) ret_val_s { "", ReturnCode::FAILED, msg }