make_memory_range only works with POD elements