Add begin()/end() to SkString.

This allows this type to meet the requirements of e.g.
std::ranges::range, which is necessary for it to work with the std::span
range constructor, or the "non-legacy" constructor for Chromium's
base::span.

Bug: chromium:364987728
Change-Id: I33a3d3e5ca34a9aae6724cac8a76d86cfe84cb8d
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/912056
Reviewed-by: Ben Wagner <bungeman@google.com>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
1 file changed