diff --git a/src/util/xspan_fwd.h b/src/util/xspan_fwd.h index 6965cc57..d096c288 100644 --- a/src/util/xspan_fwd.h +++ b/src/util/xspan_fwd.h @@ -110,6 +110,11 @@ SPAN_FWD_TU(void *) memmove(const C &a, const E &b, size_t n) { } #endif +template +inline void *memset(const C &a, int c, size_t n) { + return memset(a.raw_bytes(n), c, n); +} + /************************************************************************* // overloads for UPX extras **************************************************************************/