cpp/ranges/view interface/size

The default implementation of member function obtains the size of the range by calculating the difference between the sentinel and the beginning iterator.

@1@ Let be. Equivalent to, where the exposition-only function template performs the explicit cast from the argument type to its corresponding unsigned type.

@2@ Same as, except that is.

Parameters
(none)

Return value
The difference between the sentinel and the beginning iterator of the value of the derived type, converted to its corresponding unsigned type.