6289 Commits

Author SHA1 Message Date
mike919192
21ab37f773 Add at method to span (#975)
* Update README.md

* Add at method to span

---------

Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2024-12-19 14:30:27 +00:00
John Wellbelove
223f1cee6e Fixed syntax issue between GCC and Clang/Visual Studio 2024-12-19 14:30:25 +00:00
John Wellbelove
0a41693271 Fixed syntax issue between GCC and Clang/Visual Studio 2024-12-19 14:30:24 +00:00
John Wellbelove
e4a6bc9c44 Fixed missing conditional macros around transparent comparator C++11 functions 2024-12-19 14:30:23 +00:00
John Wellbelove
290f8d3f64 Replaced ETL_OR_STD::size with ETL_OR_STD17::size in unit tests 2024-12-19 14:30:21 +00:00
John Wellbelove
01f0cc17fa Updated release notes 2024-12-19 14:30:20 +00:00
John Wellbelove
54dc48de02 Changed comment
Simplified unit test
2024-12-19 14:30:18 +00:00
John Wellbelove
4513be3aae Updated version and release notes 2024-12-19 14:30:17 +00:00
John Wellbelove
20989a187a Added new C++17 function wrappers
etl::function_as_functor
etl::function_ptr_as_functor
etl::functor_as_static
etl::member_function_as_static
etl::member_function_as_functor
2024-12-19 14:30:16 +00:00
John Wellbelove
4a1712b733 #957 Support heterogenous lookup for maps 2024-12-19 14:30:14 +00:00
John Wellbelove
d0a9d696fe Simplified definition of is_base_of 2024-12-19 14:30:13 +00:00
John Wellbelove
fd82a9c113 #959 Treat bitset with size_type 2024-12-19 14:30:11 +00:00
John Wellbelove
0026a8b908 #965 Fix accident creation of a delegate to an rvalue delegate when copying/assigning from delegate with mismatching signature
#966 A constructor for delegate with a freestanding function
2024-12-19 14:30:10 +00:00
John Wellbelove
ddef6a04ff Fixed static definition 2024-12-19 14:30:09 +00:00
John Wellbelove
297b7e6786 Redefined ETL_DEPRECATED 2024-12-19 14:30:07 +00:00
John Wellbelove
748e2357f5 Updated nth_type to handle a type list of zero length 2024-12-19 14:30:06 +00:00
John Wellbelove
07333fd1dd Updated release notes and version 2024-12-19 14:30:05 +00:00
ZachOB
6ea2388358 Fix build error in icircular_buffer::iterator and icircular_buffer::const_iterator (#956) 2024-12-19 14:30:03 +00:00
Aleksander Dejewski
602261ce39
Add contains() method to etl::unordered_map and etl::unordered_set (#990)
* Add contains() method to etl::unordered_map and etl::unordered_set

* Add contains() method to etl::unordered_multiset and etl::unordered_multimap

Use predefined variables in UT

Move contains() method to correct place in etl::unordered_set

* Fix contains() parameter type
2024-12-19 13:33:02 +00:00
John Wellbelove
2cb15ca28f Fix unused variables in test 2024-12-19 10:21:59 +00:00
John Wellbelove
a786f61860 Added additional transparent comparators to unordered containers 2024-12-17 17:10:48 +00:00
John Wellbelove
f9b2494ec9 Merge branch 'pull-request/#989-Packed-unaligned_type' into development 2024-12-16 14:58:57 +00:00
John Wellbelove
05682930e1 Make 'packed' have better cross platform functionality 2024-12-16 14:58:16 +00:00
rolandreichweinbmw
84eea5bb1f
Packed unaligned_type (#989)
This way, unaligned_types like etl::be_uint32_t can be used in places where POD types are expected.
2024-12-14 21:36:15 +00:00
John Wellbelove
d6f7d2890d Changed etl::mem_cast to support bidirectional iterators 2024-12-14 20:10:33 +00:00
John Wellbelove
9cdef8e399 Added return reference from stack::emplace 2024-12-12 19:42:54 +00:00
rolandreichweinbmw
2a77222b2c
Return reference from emplace() in etl::queue (#992) 2024-12-12 19:04:40 +00:00
John Wellbelove
aa7af8b62b Merge branch 'pull-request/#985-Add-uncopyable.h-class-uncopyable' into development 2024-12-12 18:51:53 +00:00
John Wellbelove
70da0eea06 Added uncopyable to VS2022 project and syntax-check scripts 2024-12-12 18:15:31 +00:00
rolandreichweinbmw
0ecab77151
Add uncopyable.h, class uncopyable (#985)
* Add uncopyable.h, class uncopyable

* Added destructor and unit tests for etl::uncopyable
2024-12-10 16:23:54 +00:00
John Wellbelove
cabc3a47b9 Merge branch 'pull-request/#986-Added-const-iterators-to-span' into development 2024-12-10 11:56:26 +00:00
John Wellbelove
bbea858af4 Modified test data to have sentinel data 2024-12-10 11:26:30 +00:00
John Wellbelove
978aa3f08a Added constexpr 2024-12-10 11:25:54 +00:00
John Wellbelove
c96cf87302 Fixed incorrect for loops in unit tests 2024-12-06 17:50:15 +00:00
rolandreichweinbmw
4f96a8424d
Added const iterators to span (#986) 2024-12-04 10:17:32 +00:00
John Wellbelove
99d7537506 Updated Github Actions to checkout@v4 2024-12-04 09:42:29 +00:00
John Wellbelove
cf73d9a7fb Merge branch 'pull-request/#978-fix-build-and-test-failures-on-arm64-linux-platform' into development 2024-12-02 19:11:58 +00:00
John Wellbelove
d3689723cc Merge branch 'pull-request/#965-etl-delegate-fix-accident-creation-of-a-delegate' into development 2024-12-02 12:37:23 +00:00
John Wellbelove
3a5b552c82 Merge branch 'pull-request/#982-Added-return-to-etl-optional-emplace-fixed-typo' into development 2024-12-02 12:29:01 +00:00
rolandreichweinbmw
b58ba95e60
Added return to etl::optional emplace, fixed typo (#982) 2024-12-02 12:10:26 +00:00
snadampal
275a3f1ca9
fix build and test failures on arm64 linux platform (#978)
There are few build and test failures on arm64 platform
with "narrowing conversion" errors. This is due to the char
datatype implementation differences between different platforms
and gcc versions. This commit replaces the char datatype with
the explicit datatype that works across all the platforms.
2024-11-30 21:16:46 +00:00
John Wellbelove
1b76d93069 Fixed merge issues 2024-11-30 11:19:43 +00:00
John Wellbelove
ed8321e54e removed redundant parameters 2024-11-30 10:18:10 +00:00
John Wellbelove
f2099b5403 Merge branch 'feature/#962-Request--allow-(overload)-string-append-a-string_view' into development
# Conflicts:
#	include/etl/basic_string.h
2024-11-30 09:40:28 +00:00
John Wellbelove
d53ff4ff05 Removed using directive in derived message router classes. 2024-11-30 09:37:51 +00:00
John Wellbelove
9cd2d463ac Removed using directive in derived message router classes. 2024-11-30 09:37:32 +00:00
John Wellbelove
fb1332662c Merge branch 'hotfix/#979-QueuedMessageRouter-does-not-work-message-are-not-sent-to-queue' into development
# Conflicts:
#	test/test_message_router.cpp
2024-11-30 09:34:53 +00:00
John Wellbelove
de63fcbc5d Removed using directive in derived message router classes. 2024-11-30 09:34:14 +00:00
John Wellbelove
e422be6464 Removed using directive in derived message router classes. 2024-11-29 18:53:44 +00:00
John Wellbelove
ec3d20695b Fixed shadowing warnings 2024-11-27 16:36:35 +00:00