We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8d9f70 commit f5eb778Copy full SHA for f5eb778
1 file changed
code/include/rlbox_stdlib.hpp
@@ -136,6 +136,7 @@ inline T_Wrap<T_Rhs*, T_Sbx> memset(rlbox_sandbox<T_Sbx>& sandbox,
136
137
template<typename T>
138
static constexpr bool can_type_be_memcopied =
139
+ std::is_same_v<unsigned char, std::remove_cv_t<T>> ||
140
std::is_same_v<char, std::remove_cv_t<T>> || std::is_same_v<wchar_t, std::remove_cv_t<T>> ||
141
std::is_same_v<float, std::remove_cv_t<T>> || std::is_same_v<double, std::remove_cv_t<T>> ||
142
std::is_same_v<char16_t, std::remove_cv_t<T>> || std::is_same_v<short, std::remove_cv_t<T>>;
0 commit comments