diff options
author | Wyatt Hepler <hepler@google.com> | 2020-06-22 15:40:45 -0700 |
---|---|---|
committer | CQ Bot Account <commit-bot@chromium.org> | 2020-06-23 20:45:28 +0000 |
commit | 6d1a6c69393c244386ca069540334ba63ea8018d (patch) | |
tree | e027446c06329683b55db751434ccb2bc13d8e28 /pw_allocator | |
parent | 69a5190a7ebca47cda35a6106aaa4dd0bfb5534f (diff) | |
download | pigweed-6d1a6c69393c244386ca069540334ba63ea8018d.tar.gz |
pw_span: Move pw_string, pw_unit_test to std::span
- Update pw_string and the test framework to std::span.
- Have pw_string pass std::span by value, for consistency with other
uses in Pigweed.
- Recommend using template specializations instead of overloads for
custom ToString implementations. Template specializations are
preferred because the main ToString definition is a template.
Change-Id: Ib67c6bce1752c4a90e2138bdb1f20c6671f55d50
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/12841
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
Diffstat (limited to 'pw_allocator')
0 files changed, 0 insertions, 0 deletions