Closed mhoemmen closed 2 years ago
Make mdspan::size() return size_t (per P0009R18), instead of size_type.
mdspan::size()
size_t
size_type
Make sure that mdspan::size() does not overflow unless the product of the extents is not representable as a value of type size_t.
Add tests for both (1) and (2).
Fixes #167.
Thanks Christian! : - D
Make
mdspan::size()
returnsize_t
(per P0009R18), instead ofsize_type
.Make sure that
mdspan::size()
does not overflow unless the product of the extents is not representable as a value of typesize_t
.Add tests for both (1) and (2).
Fixes #167.