-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use CTAD rather than `make_span()` in some span helpers. * Combine two `make_span()` overrides into one that better matches the actual span constructors, to make further removal more mechanical. * Add a few constraints that were already checked by underlying helpers, but not by those that called them; won't change what compiles, but hopefully will make errors give the underlying issue sooner. * Stop supporting rvalue arrays for as_writable_byte_span(). It doesn't make much sense to want a writable span created from an rvalue, and we don't really support it elsewhere. * Fix oversight in SpanReader deduction guide that didn't support raw_spans. Bug: 364987728 Change-Id: If8b7f151fee4b5416cce8f3d6e66e83c30bf1741 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5962112 Auto-Submit: Peter Kasting <pkasting@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Reviewed-by: danakj <danakj@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1375433} CrOS-Libchrome-Original-Commit: 866b397d72d22bbc587896fd98c9a281cc915580
- Loading branch information
Showing
4 changed files
with
35 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters