make_memory_range can only be used with char-like elements