commit | 1c2d6f43e9335dfbe1d2a51cd4f352e76250a8e8 | [log] [tgz] |
---|---|---|
author | Aaron Green <aarongreen@pigweed.infra.roller.google.com> | Wed Sep 25 23:34:18 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 25 23:34:18 2024 +0000 |
tree | f4bd9fdd9695a483911de0cf4f7aa8a5707412d8 | |
parent | 87d1ea4c09d2bc4dadcb94edef4b714dd6484c33 [diff] |
roll: pigweed pw_containers: Multiple container example It is possible to add intrusive items to multiple containers, but only if those containers have disjoint value_types. This isn't entirely intuitive, so this CL adds examples, unit tests, and docs to make it easier. Additionally, in order facilitate the aforementioned unit tests, the base type for map items has been unified into `pw::IntrusiveMapItem`, and the intrusive item type used by `CheckItemType` has been renamed to `pw::containers::internal::IntrusiveItem`. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/237472 Original-Revision: 819dd2ceb430eae53909bea7d5a23c7743ef0fc2 Rolled-Repo: https://pigweed.googlesource.com/pigweed/pigweed Rolled-Commits: cfa4da0ff6f50b..819dd2ceb430ea Roller-URL: https://ci.chromium.org/b/8735781600191061009 GitWatcher: ignore CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Id7444f4e47a64b6c36f84bdb0cc6c41660ddaf2a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/showcase/sense/+/238016 Bot-Commit: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Commit-Queue: Pigweed Roller <pigweed-roller@pigweed-service-accounts.iam.gserviceaccount.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
git clone https://pigweed.googlesource.com/pigweed/showcase/sense
Welcome to Pigweed Sense, a tour of key Pigweed components experienced through an imagined air quality product.
Please visit Sense: An interactive tour through Pigweed to get started.