pw_preprocessor: PW_HAVE_CPP_ATTRIBUTE and new attribute - PW_HAVE_CPP_ATTRIBUTE() checks if a C++-style attribute is supported. - PW_ATTRIBUTE_LIFETIME_BOUND marks a returned reference as having a lifetime bound to a containing object. Change-Id: I59f2c8f7d7c8c1c1866a70ebd234b867f2377fd7 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/85521 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com> Commit-Queue: 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/