Programming, Cplusplus.
on the previous overloads for the following reasons: we don’t want data_size to be called twice, which would be the case if resize(shape, layout) was forwarding to resize(shape, strides). we don’t want to allocate temporary strides in overloads accepting a layout parameter and pass them to the