* Added coderabbitai configuration
* Added builtin mem function tests
* Modified etl::typed_storage
* Modified etl::typed_storage
# Conflicts:
# include/etl/alignment.h
* Added ETL_NOEXCEPT and ETL_NOEXCEPT_IF_NO_THROW
* Added etl::typed_storage_ext and swap for same
* Added etl::typed_storage_ext and swap for same
# Conflicts:
# include/etl/alignment.h
* Added release notes
* Fixes to GCC -O2 errors
* Changed char* parameters to value_type* parameters
* Fixed compilation issues for const containers unit tests
* Added automatic selection of __builtin_memxxx functions for GCC and clang
* Added enhanced coderabbit configuration
* Updated version and release notes
* Disabled constexpr const container tests for C++11
* Attempted fixes for MacOS compilation
* Attempted fixes for MacOS compilation
* Attempted fixes for MacOS compilation
* Attempted fixes for MacOS compilation
* Updated version and release notes
* feat: removed unreachable break statements (#1169)
* Updated version and release notes
* Modified etl::typed_storage
# Conflicts:
# include/etl/alignment.h
* Fix etl::typed_storage by supporting omitted destructors
In a recent change to alignment.h, the etl::typed_storage was
changed in a way that in case of an already constructed object,
the object is created via assignment.
However, this contradicts the original use case that led to
etl::typed_storage in the first place:
https://github.com/ETLCPP/etl/pull/1023
The goal is to omit destructors (and at the same time support
classes with deleted assignment operators), so they can be optimized out
at link time.
This change reverts commit ac7b268 to restore the original
functionality and changes the test to reflect the original
use case.
* Fix missing create() in non-C++11 typed_storage_ext constructor
* Typo fix
---------
Co-authored-by: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Co-authored-by: Drew Rife <darife@jlg.com>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
* Add Zephyr build system module.yml (#1074)
The Zephyr build system requires that modules have a `module.yml` file to specify where the module cmake and kconfig files are located.
These can also be explicitly set as "external" meaning that they do not exist within the module tree, itself. These build file can still be specified elsewhere via cmake variables, explained more in-depth here: https://docs.zephyrproject.org/latest/develop/modules.html#modules-module-ext-root
This change makes it such that ETL can be included more easily in zephyr projects running on embedded systems. A similar change can be observed in the public nanopb repository, where the repo only requires its own `zephyr/module.yml` file to be found by the zephyr build system, but the kconfig and cmake additions can exist outside of the library repository.
* Support const pointers to etl::is_aligned()
---------
Co-authored-by: Zach Van Camp <marshmilo100@gmail.com>