commit | 25c193a34bc81fb052d65c0750a752c1ca539d11 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Sep 01 22:13:48 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 01 22:13:48 2022 +0000 |
tree | b83abcc0551822e5f132d4073801f172c5403b2f | |
parent | 01d057010189c14ec5b09aad6dee81c05715a16b [diff] |
pw_string: Fixed-capacity string class similar to std::string pw::InlineBasicString<T, kCapacity> is a fixed-capacity null-terminated string class that closely resembles std::basic_string<T>. The char alias pw::InlineString<kCapacity> is equivalent to std::string. pw::InlineString instances must be constructed with the capacity specified, but strings of any capacity may be used through an pw::InlineString<> reference. Fixes: b/234869764 Change-Id: I4384ccac76ea27bd58012ceca9c9c289db7f0185 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/92742 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@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/.