pw_containers: Add explicit constexpr constructors for deques/queues Current default constructors do not actually permit constexpr construction of objects, therefore queues/deques are currently allocated in .bss - since constinit construction will allocate the entire container in .data instead, potentially unexpectedly increasing the ROM size of users, add a separate constexpr constructor instead of changing the default constructor to be constexpr. Change-Id: I5c7333a0adc09c354f330ea39dc1746f43b79f8f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/250434 Docs-Not-Needed: Jesse Chen <chenjesse@google.com> Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com> Commit-Queue: Jesse Chen <chenjesse@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.