slice_check_range
The tracking issue for this feature is: #76393
This adds slice::check_range.
slice::check_range