sizeToIndex

Given range of elements having size convert data convert window in size units sw to the result window in index units using current window in index units iw

data the range of elements having size sw the requested window in size units iw the current window in index units

returns the result window in index units

sizeToIndex
(
R
)
(,
auto ref const(SizeWindow) sw
,
auto ref const(IndexWindow) iw
)
if (
isRandomAccessRange!R
)

Meta