John Wellbelove
ac7b268c32
Modified etl::typed_storage
...
# Conflicts:
# include/etl/alignment.h
2025-09-07 09:31:40 +01:00
John Wellbelove
0d0e290474
Changed #if ETL_USING_STL to #if ETL_USING_STD_OSTREAM around std::basic_ostream
...
Fixed warnings when using ETL_DEBUG_COUNT in non debug build
2025-09-06 20:51:13 +01:00
John Wellbelove
2fa82d579e
Macro changes to fix issues
2025-09-06 20:51:12 +01:00
John Wellbelove
d27adeb510
#1171 optional of a const arary can't be emplaced with gcc-15
2025-09-06 20:51:11 +01:00
John Wellbelove
0326edef42
Replaced ETL_NOEXCEPT_IF_NO_THROW with ETL_NOEXCEPT_EXPR(ETL_NOT_USING_EXCEPTIONS)
2025-09-06 20:51:10 +01:00
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
Drew Rife
515dcf4bf6
feat: removed unreachable break statements ( #1169 )
2025-09-04 19:32:57 +01:00
John Wellbelove
958c331d49
Updated version and release notes
2025-09-04 11:29:02 +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
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
0081cfa794
Modified etl::typed_storage
2025-08-26 17:38:46 +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
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
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
5312f5eddd
Added explicit check for remainder in divide_round_to_infinity
2025-08-15 10:24:45 +01:00
John Wellbelove
8c49e67702
Added return_type and argument_types to etl::delegate
2025-08-13 19:51:31 +01:00
John Wellbelove
534fcc6ebe
Updated fsm generator
2025-08-13 10:46:14 +01:00
John Wellbelove
ca5f5394f7
Minor style change
2025-08-13 10:14:13 +01:00
John Wellbelove
b734df629b
Attempt to fix Github CI
...
GCC 11 incompatibility
2025-08-13 08:53:03 +01:00
John Wellbelove
310cc6e501
Attempt to fix Github CI
2025-08-12 18:22:52 +01:00
John Wellbelove
86f76933c1
Added full rounded integral division
2025-08-12 15:13:03 +01:00
John Wellbelove
ddfd3fa443
Added remaining limits tests
...
Fixed divide_round_half_odd and added tests
2025-08-11 20:19:18 +01:00
John Wellbelove
5c52fd19cc
Added new unit tests
...
Fixed integer overflow issue at limits
2025-08-11 09:49:37 +01:00
John Wellbelove
ff1e4296bc
Added complete set of rounded integral division
2025-08-07 18:45:46 +01:00
John Wellbelove
2de4057021
Added transition_to member function to change state
...
Pulled out the core state change code to process_state_change
2025-08-05 18:48:15 +01:00
John Wellbelove
0fc2cfeff3
Updated fsm_generator.h to match edited fsm.h
2025-08-04 17:20:05 +01:00
John Wellbelove
5d694e7aa8
Added ETL_UNLIKELY to ETL_ASSERT if (!(b)) conditions
2025-08-04 16:11:20 +01:00
John Wellbelove
1d4dbc8976
Added etl::fsm_state_pack and corresponding constructor
2025-08-04 16:10:04 +01:00
John Wellbelove
7504646301
Added delegate_observable
2025-08-03 16:22:50 +01:00
John Wellbelove
51a4d0e8da
Update templates for pentential macro name conflicts
2025-08-03 16:22:10 +01:00
John Wellbelove
e67066b788
Added emplace type constructors to etl::optional
2025-08-02 13:47:33 +01:00
John Wellbelove
2cd28ce7c5
Fixed minor issues
2025-08-01 09:23:42 +01:00
John Wellbelove
5a2aeb683e
Update templates for potential macro name conflicts
2025-07-28 09:32:10 +01:00
John Wellbelove
43385fea63
Very minor layout change
2025-07-27 10:38:49 +01:00
John Wellbelove
e60f68bad8
Removed asserts from copy_s and move_s algorithms
2025-07-27 10:38:20 +01:00
John Wellbelove
c26e2de7ec
Changed generate scripts to use python3
2025-07-27 10:35:49 +01:00