commit | 3b6532395a331fec991c7647518d2c52fb3c8953 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@pigweed.infra.roller.google.com> | Wed Jun 29 00:15:16 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 29 00:15:16 2022 +0000 |
tree | c2c17574a3908858c46a3304d23c4bdb0abb51a8 | |
parent | 9b64244629e7c2680eac096386acd827e184cb85 [diff] |
[roll pigweed] pw_span: Alias std::span when it is available or polyfilled - If std::span is available and fully implemented, make pw::span an alias of it. - If std::span is polyfilled, make pw::span an alias of it. It is not possible to make std::span an alias of pw::span since C++ library headers contain forward declarations of std::span, even when building with C++17. - Otherwise, define pw::span as a separate class to avoid adding anything to the std namespace. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/100201 https://pigweed.googlesource.com/pigweed/pigweed pigweed Rolled-Commits: c4487fcfbf78400..175770017a7e238 Roller-URL: https://ci.chromium.org/b/8810068140964727009 Cq-Cl-Tag: roller-builder:pigweed-zephyr-roller Cq-Cl-Tag: roller-bid:8810068140964727009 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ib0fb9b8b4e76a8386df2561b2ede90848ea93409 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/zephyr-integration/+/100189 Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>