Roland Reichwein
363d2e8ab5
Make call interfaces in etl::delegate and etl::closure conditionally noexcept ( #1172 )
...
* Make all call interfaces in etl::delegate conditionally noexcept
This covers the case when the invoked code can throw.
For operator(), this was already implemented. Do similarly for the
other call interfaces.
* Make all call interfaces in etl::closure conditionally noexcept
Similar to etl::delegate, the contained delegate might be
throwing. Apply the same solution as in etl::delegate to make
the call interfaces conditionally noexcept.
2025-09-06 20:50:58 +01:00
Roland Reichwein
92f07a66fc
Fix .clang-format ( #1177 )
...
* Added coderabbitai configuration
* Fix .clang-format
---------
Co-authored-by: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2025-09-06 14:12:34 +01:00
David Ockey
b85b071a3e
Made all 'noexcept' statements use ETL_NOEXCEPT macro ( #1179 )
...
* Added coderabbitai configuration
* Made all 'noexcept' statements use ETL_NOEXCEPT macro
---------
Co-authored-by: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2025-09-06 09:32:03 +01:00
John Wellbelove
e760e62dcd
Updated version and release notes
2025-09-04 19:45:12 +01:00
Drew Rife
515dcf4bf6
feat: removed unreachable break statements ( #1169 )
2025-09-04 19:32:57 +01:00
John Wellbelove
efdfee8333
Updated version and release notes
2025-09-04 18:07:00 +01:00
John Wellbelove
bb628aa25d
Attempted fixes for MacOS compilation
2025-09-04 15:00:22 +01:00
John Wellbelove
b5ea03133d
Attempted fixes for MacOS compilation
2025-09-04 14:35:16 +01:00
John Wellbelove
73ae8f4d85
Attempted fixes for MacOS compilation
2025-09-04 14:26:01 +01:00
John Wellbelove
2d1af2dfb6
Attempted fixes for MacOS compilation
2025-09-04 13:51:32 +01:00
John Wellbelove
0deb855676
Disabled constexpr const container tests for C++11
2025-09-04 12:52:35 +01:00
John Wellbelove
958c331d49
Updated version and release notes
2025-09-04 11:29:02 +01:00
John Wellbelove
76d0a78463
Added enhanced coderabbit configuration
2025-09-04 11:27:27 +01:00
John Wellbelove
51675a6ce7
Added automatic selection of __builtin_memxxx functions for GCC and clang
2025-09-04 10:11:57 +01:00
John Wellbelove
119d381570
Fixed compilation issues for const containers unit tests
2025-09-04 10:10:52 +01:00
John Wellbelove
d92eb4d3ff
Changed char* parameters to value_type* parameters
2025-09-04 10:10:02 +01:00
John Wellbelove
3837e36d71
Fixes to GCC -O2 errors
2025-09-02 13:51:45 +01:00
John Wellbelove
18f50d01c4
Added release notes
2025-08-28 14:09:17 +01:00
John Wellbelove
89c479ef15
Added etl::typed_storage_ext and swap for same
...
# Conflicts:
# include/etl/alignment.h
2025-08-28 13:45:41 +01:00
John Wellbelove
18a7e79c56
Added etl::typed_storage_ext and swap for same
2025-08-28 10:30:24 +01:00
John Wellbelove
7c2804c1a9
Added ETL_NOEXCEPT and ETL_NOEXCEPT_IF_NO_THROW
2025-08-26 17:41:51 +01:00
John Wellbelove
bfe4f62574
Merge branch 'feature/#1170-Place-a-typed-pointer-instead-of-a-bool-into-etl--typed_storage' of https://github.com/ETLCPP/etl into feature/#1170-Place-a-typed-pointer-instead-of-a-bool-into-etl--typed_storage
...
# Conflicts:
# include/etl/alignment.h
2025-08-26 17:39:08 +01:00
John Wellbelove
0081cfa794
Modified etl::typed_storage
2025-08-26 17:38:46 +01:00
John Wellbelove
0ca68938ff
Modified etl::typed_storage
2025-08-26 16:43:33 +01:00
John Wellbelove
5f8b7f7120
Added builtin mem function tests
2025-08-22 19:20:15 +01:00
John Wellbelove
e3dac1e33e
Merge branch 'development'
20.43.0
2025-08-19 19:13:31 +01:00
John Wellbelove
cde5bcff69
Updated release notes and version
2025-08-19 18:50:57 +01:00
John Wellbelove
2a970134da
Removed releaser and destroyer in favour of lambdas and similar
2025-08-19 16:01:46 +01:00
John Wellbelove
6b7bfb8633
Merge branch 'development' of https://github.com/ETLCPP/etl into development
2025-08-19 13:18:34 +01:00
John Wellbelove
4d5cb98d29
Fixed ETL_NOEXCEPT_IF_NO_THROW and #define ETL_NOEXCEPT_IF_NO_THROW_EXPR(...) for C++03
...
Updated example
Added releaser and destroyer functors to etl::ipool to simplify integration with etl::unique_ptr
2025-08-19 13:18:21 +01:00
John Wellbelove
fb6c42ec78
Fixed ETL_NOEXCEPT_IF_NO_THROW and #define ETL_NOEXCEPT_IF_NO_THROW_EXPR(...) for C++03
2025-08-18 19:45:40 +01:00
John Wellbelove
5f37af3f83
Changed release() to destroy() to match create()
2025-08-18 19:44:51 +01:00
John Wellbelove
44ec1e4f25
Updated release notes
2025-08-18 17:34:53 +01:00
John Wellbelove
ac1d2c82d1
Added not_null comparison tests
2025-08-18 17:13:07 +01:00
John Wellbelove
0a5fcef331
Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null
2025-08-18 16:52:00 +01:00
John Wellbelove
3a25d5934a
Added constexpr. Removed some member functions. Removed 'move' member functions for etl::not_null<etl::unique_ptr<T, TDeleter>>
2025-08-18 16:51:49 +01:00
John Wellbelove
3bc87f1045
Changed unique() to underlying_type()
...
Added underlying_type() to etl::not_null<T*>
2025-08-18 16:51:00 +01:00
John Wellbelove
2d22dfe236
Changed unique() to underlying_type()
...
Added underlying_type() to etl::not_null<T*>
2025-08-18 16:50:59 +01:00
John Wellbelove
877ef005ea
Fixed file Id error
...
Updated CMakeLists.txt for tests and syntax checks
2025-08-18 16:50:58 +01:00
John Wellbelove
28d90aa80c
Initial implementation
2025-08-18 16:50:57 +01:00
John Wellbelove
f6fd44a096
Initial implementation
2025-08-18 16:50:57 +01:00
John Wellbelove
63d7470685
Added etl::nontype_t, with C++11 and C++17 alternatives
2025-08-18 14:22:33 +01:00
John Wellbelove
450948933f
Added example of the use of etl::unique_ptr with etl::pool
2025-08-18 14:20:45 +01:00
John Wellbelove
037029ea84
Added constexpr. Removed some member functions. Removed 'move' member functions for etl::not_null<etl::unique_ptr<T, TDeleter>>
2025-08-17 10:37:27 +01:00
John Wellbelove
ae8aff5ed8
Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null
2025-08-16 10:57:20 +01:00
John Wellbelove
2edde546c4
Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null
2025-08-16 10:57:14 +01:00
John Wellbelove
1963593159
Merge branch 'feature/#1166-Feature-Request--implement-not_null' of https://github.com/ETLCPP/etl into feature/#1166-Feature-Request--implement-not_null
2025-08-16 10:38:38 +01:00
John Wellbelove
94f7d9956d
Changed unique() to underlying_type()
...
Added underlying_type() to etl::not_null<T*>
2025-08-16 10:38:29 +01:00
John Wellbelove
d7585508da
Changed unique() to underlying_type()
...
Added underlying_type() to etl::not_null<T*>
2025-08-16 10:12:41 +01:00
John Wellbelove
109ba9350d
Updated syntax check tests
2025-08-15 19:26:18 +01:00