1906 Commits

Author SHA1 Message Date
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
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
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
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
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
962264e0b1 Changed case for script header 2024-11-27 16:35:09 +00:00
John Wellbelove
27c2093110 Added CONTRIBUTING.md to the VS2022 project files. 2024-11-24 16:39:09 +00:00
John Wellbelove
705b6b1bae Added contains member function to string_view 2024-11-24 15:01:38 +00:00
John Wellbelove
f566076f42 Added member function resize_and_overwrite 2024-11-24 09:03:48 +00:00
John Wellbelove
d5cd9567cd Added starts_with and ends_with to basic_string 2024-11-23 12:33:36 +00:00
John Wellbelove
a3b40b667a Removed std::string_view interface
Added contains member functions
2024-11-23 10:47:41 +00:00
John Wellbelove
bc44bf7a46 Fixed C++ standard compatibility issues 2024-11-22 12:25:02 +00:00
John Wellbelove
6559615242 Added string_view API.
For all string types except _ext
2024-11-20 09:51:02 +00:00
John Wellbelove
f5e8a5400e Added construction from std::basic_string_view 2024-11-18 20:20:53 +00:00
mike919192
f5eab49208
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-11-13 21:26:04 +00:00
John Wellbelove
d3ba653e37 Fixed syntax issue between GCC and Clang/Visual Studio 2024-11-11 13:20:47 +00:00
John Wellbelove
c9180a4b18 Replaced ETL_OR_STD::size with ETL_OR_STD17::size in unit tests 2024-11-10 18:34:18 +00:00
John Wellbelove
5b01a4b4e5 Changed comment
Simplified unit test
2024-11-10 18:00:45 +00:00
John Wellbelove
ad69fb256d 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-11-10 18:00:10 +00:00
John Wellbelove
c954c696bb #957 Support heterogenous lookup for maps 2024-11-10 18:00:08 +00:00
John Wellbelove
36a5b4ba16 #959 Treat bitset with size_type 2024-11-10 18:00:05 +00:00
John Wellbelove
4b7997ae17 #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-11-10 18:00:03 +00:00
John Wellbelove
b602203e95 C++11 & 14 unit test compatibility 2024-08-31 11:06:03 +01:00
John Wellbelove
f77d91d544 Updated syntax checks 2024-08-21 18:48:56 +01:00
John Wellbelove
af9b3deade Added the option of more logical ordering for template parameters for compile time member functions 2024-08-11 12:13:46 +01:00
John Wellbelove
af03b44d2a Fixed floating point support for etl::unaligned_type 2024-08-09 21:36:58 +01:00
John Wellbelove
344f1b2387 Added Unit test macros
CHECK_FLOAT_SAME
CHECK_FLOAT_DIFFERENT
2024-08-09 21:36:15 +01:00
John Wellbelove
3f018ee1a7 Fixed floating point etl::unaligned_type 2024-08-08 22:58:22 +01:00
John Wellbelove
c5a6f9b5b4 #942 Warning on pragma c++20-compat 2024-08-06 19:38:58 +01:00
John Wellbelove
f33b4d716c Updates to constexpr char traits tests 2024-08-06 15:02:13 +01:00
John Wellbelove
bceca90cd9 Updates to constexpr binary tests 2024-08-06 13:40:21 +01:00
John Wellbelove
848ecb0cf6 Updates to constexpr bit tests 2024-08-06 09:55:44 +01:00
John Wellbelove
29b719f5f4 Partial updates to bit tests 2024-08-06 08:37:08 +01:00
John Wellbelove
73395fe6f4 Updated C++03 observer class to accept void parameter notification types 2024-08-02 10:36:13 +01:00
John Wellbelove
f219e86806 Added etl::count_of, etl::has_duplicates, etl::has_duplicates_of 2024-08-02 10:35:29 +01:00
John Wellbelove
c61f493a01 Added observer<void> as a specialisation for C++03 code 2024-08-01 13:29:52 +01:00
John Wellbelove
405b57191d Fixed suite test name 2024-07-31 10:51:41 +01:00
Boris Gromov
f01edbc5c4
Fix histogram indexing when accessed via operator [] (#939) 2024-07-31 09:04:45 +01:00
John Wellbelove
b6801b5c0c Added observer specialisation for void notification parameter type 2024-07-30 13:33:58 +01:00