5187 Commits

Author SHA1 Message Date
mike919192
ecf5d9bca3 Implement << operator for std basic_ostream and etl string_view (#1040)
* Implement << operator for std basic_ostream and etl string_view

* Implement << operator for std basic_ostream and etl ibasic_string.  Still working through tests

* Should be all tests

* Fix comment
2025-03-17 08:54:28 +00:00
John Wellbelove
b021276519 Reversed loop change 2025-03-17 08:53:18 +00:00
John Wellbelove
bcf5ec4985 Merge branch 'pull-request/#1044-Add-traits-to-type_list' into development 2025-03-16 19:10:06 +00:00
John Wellbelove
3360eae62d Modified etl::variant_variadic to use etl::type_list in place of etl::parameter_pack 2025-03-16 19:09:41 +00:00
John Wellbelove
03ca499e5e Refactored and simplified some features of etl::type_list
Removed nth_type specialisation for etl::type_list
2025-03-16 19:08:55 +00:00
John Wellbelove
495ea2b943 Attempt to fix some sanitizer issues for tests 2025-03-16 19:07:25 +00:00
John Wellbelove
36b4d51baf Added etl::index_of_type as a complement to etl::nth_type 2025-03-16 19:06:34 +00:00
John Wellbelove
53887fa105 Renamed type_list_index_of to type_list_index_of_type 2025-03-14 15:46:25 +00:00
John Wellbelove
f1d5b16d38 Added etl::type_list_type_at_index 2025-03-09 10:47:24 +00:00
Roland Reichwein
d4813dff86
Add traits to type_list (#1044) 2025-03-09 09:41:15 +00:00
John Wellbelove
c19a3fe085 Added unit tests for initializer_list construction 2025-03-04 09:27:39 +00:00
John Wellbelove
ceeb2e706e Updated bash test script help 2025-03-04 09:27:07 +00:00
John Wellbelove
c43d9eaea1 Removed duplicated header includes 2025-03-04 09:26:39 +00:00
John Wellbelove
2dac573963 Merge branch 'pull-request/#1024-etl-span-Add-advance(),-copy(),-reinterpret_as()' of https://github.com/ETLCPP/etl into pull-request/#1024-etl-span-Add-advance(),-copy(),-reinterpret_as()
# Conflicts:
#	include/etl/span.h
2025-03-03 10:58:50 +00:00
John Wellbelove
987cb4f78b Minor format change 2025-03-03 10:57:26 +00:00
rolandreichweinbmw
fc638a92a6 etl::span: Add advance(), copy(), reinterpret_as() (#1024)
* etl::span: Add advance(), copy(), reinterpret_as()

* Added further tests for span::reinterpret_as

* Fix size of unaligned_type on Windows

Multiple inheritance leads to additional 1 byte for the second base class.
Fixing it by not inheriting but aggregating via typedef.
2025-03-03 10:04:09 +00:00
John Wellbelove
071a983cba Added ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE macro and has_atomic_always_lock_free trait
Fixed coditional unit tests in test_atomic
2025-03-03 10:03:42 +00:00
rolandreichweinbmw
d5bea3a1f1
etl::span: Add advance(), copy(), reinterpret_as() (#1024)
* etl::span: Add advance(), copy(), reinterpret_as()

* Added further tests for span::reinterpret_as

* Fix size of unaligned_type on Windows

Multiple inheritance leads to additional 1 byte for the second base class.
Fixing it by not inheriting but aggregating via typedef.
2025-03-03 08:52:12 +00:00
John Wellbelove
e478088081 Merge branch 'pull-request/#1036-Add-contains()-and-contains_node()-to-etl--intrusive_forward_list' into development 2025-03-02 12:51:43 +00:00
John Wellbelove
6124367f28 Integration of contains and contains_node 2025-03-02 12:51:17 +00:00
John Wellbelove
8a4159440e Merge branch 'development' of https://github.com/ETLCPP/etl into development 2025-03-02 11:11:36 +00:00
John Wellbelove
ec08fe48df Added static assert for variadic constructor
Fixed missing this-> prefix for current_size
2025-03-02 11:11:25 +00:00
John Wellbelove
24b241e10a Improved implementation of etl::is_base_of_all 2025-03-02 11:11:24 +00:00
John Wellbelove
fc4c74721c Added erase from pointer to node 2025-03-02 11:11:23 +00:00
John Wellbelove
3849e349ec Added variadic contruction
Added erase from pointer to node
2025-03-02 11:11:22 +00:00
rolandreichweinbmw
41a3b855e1 Cleanup (#1039) 2025-03-02 11:10:51 +00:00
John Wellbelove
9ee97ec1b7 Modified create_linked_list functions to not null terminal link pointers 2025-03-02 11:10:50 +00:00
John Wellbelove
5d6771f607 Added variadic constructors 2025-03-02 11:10:49 +00:00
John Wellbelove
5327b5584b Added etl::create_linked_list and etl::detach_linked_list to the intrusive link utilities 2025-03-02 11:10:48 +00:00
rolandreichweinbmw
12743be9e2
Add contains() and contains_node() to etl::intrusive_forward_list and etl::intrusive_list (#1036)
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2025-03-02 11:09:32 +00:00
rolandreichweinbmw
64ae22a093 Intrusive forward list add remove by pointer (#1026)
* Add intrusive_forward_list::remove() element by pointer

* Add test
2025-03-02 11:05:59 +00:00
John Wellbelove
abe765a9cf Added static assert for variadic constructor
Fixed missing this-> prefix for current_size
2025-03-02 10:20:44 +00:00
John Wellbelove
6459ce7b5f Improved implementation of etl::is_base_of_all 2025-03-02 09:43:31 +00:00
John Wellbelove
dc21da2cd4 Merge branch 'pull-request/#1026-Intrusive-forward-list-add-remove-by-pointer' into development
# Conflicts:
#	include/etl/intrusive_forward_list.h
2025-03-02 08:32:28 +00:00
John Wellbelove
68dac39104 Added erase from pointer to node 2025-03-02 08:31:14 +00:00
John Wellbelove
2746cf4060 Added variadic contruction
Added erase from pointer to node
2025-03-02 08:30:54 +00:00
rolandreichweinbmw
37539a2761
Intrusive forward list add remove by pointer (#1026)
* Add intrusive_forward_list::remove() element by pointer

* Add test
2025-03-01 18:24:30 +00:00
rolandreichweinbmw
4e4f7ddbb1
Cleanup (#1039) 2025-03-01 17:57:27 +00:00
John Wellbelove
acc0b4bb89 Modified create_linked_list functions to not null terminal link pointers 2025-03-01 13:40:49 +00:00
John Wellbelove
260a3f4a48 Added variadic constructors 2025-03-01 13:39:51 +00:00
John Wellbelove
a28cbddd4b Added etl::create_linked_list and etl::detach_linked_list to the intrusive link utilities 2025-02-27 10:02:56 +00:00
John Wellbelove
e1b263a10d Updated release notes 2025-02-23 13:07:25 +00:00
John Wellbelove
c882a9c500 Update version 20.40.0 2025-02-23 12:47:19 +00:00
John Wellbelove
3fafc61bba #1032 Tasking Compiler Failure For parameter_pack.h 2025-02-23 12:42:28 +00:00
John Wellbelove
5e689c0a66 Fix some sanitizer issues 20.39.5 2025-02-23 11:54:38 +00:00
John Wellbelove
109d45c646 Added additional checks for self assignment 2025-02-22 13:59:48 +00:00
John Wellbelove
da5404b748 #1031 etl::string is invalid if calling assign() with itself 2025-02-21 10:52:47 +00:00
John Wellbelove
e9ed2fe044 Update class generators to match code changes 2025-02-21 08:56:58 +00:00
John Wellbelove
7af020bde8 Updated message_router_generator.h 2025-02-19 20:11:53 +00:00
John Wellbelove
812eebf507 Updated release notes 2025-02-19 20:06:17 +00:00