Does valarray
have contiguous memory alignment?
I want to pass a valarray to a function (from IPPS), which only takes pointers, by passing &myValarray[0]
. But therefore I should be sure, that valarray's memory alignment is contiguous.
Thanks!
See Question&Answers more detail:os