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
John Wellbelove
1d4f400cce
changed std::is_same_v to std::is_same for C++11/14 test compatibility
2024-07-28 16:51:02 +01:00
John Wellbelove
cc3d7d120d
Split bit tests
2024-07-28 16:51:02 +01:00
John Wellbelove
b85cc276b3
Refactored etl::io_port classes
...
Added binary operators
Modified the way iterators are handled.
2024-07-28 16:51:02 +01:00
John Wellbelove
32f5d19792
Added is_active member function to callback_timer classes.
2024-07-28 16:47:13 +01:00
Chiraffollo
aa852a9998
Fix run-tests.sh script ( #929 )
...
* Fix run-tests.sh script
- Fix ordering of parameters in help info
- Change spaces to tabs in indentation of methods (unique usage of indentation)
- Fix check for number of parameters to avoid empty string as default parameter value
* Fix incorrect comparison
2024-07-28 16:47:12 +01:00
John Wellbelove
81aae1a962
Changed default action to Linux test script
2024-07-28 16:47:12 +01:00
Chiraffollo
64be8a63d7
Add missing swap implementations for expected ( #928 )
...
* Fix missing partial specialisation equal operators
* Add missing swap implementations for expected
2024-07-28 16:47:12 +01:00
Chiraffollo
0c87973061
Fix missing partial specialisation equal operators ( #927 )
2024-07-28 16:47:12 +01:00
John Wellbelove
24824d2095
Added ETL_USING_LEGACY_VARIANT & ETL_NOT_USING_LEGACY_VARIANT
...
Added some legacy API member functions to new variant type.
2024-07-28 16:47:12 +01:00
John Wellbelove
6a8d183797
Small format changes
2024-07-28 16:47:12 +01:00
Chiraffollo
752617ab4c
Fix issue #923 equality operator for class expected ( #926 )
...
* Add equality operators for class expected
* Add missing unequal operator
---------
Co-authored-by: Oliver Marx <omarx@de.pepperl-fuchs.com>
2024-07-28 16:47:12 +01:00
Chiraffollo
5d97f075a5
Fix issue #931 ( #932 )
...
* Fix doc comment for pool::allocate() (#914 )
* Fix issue #931
Superfluous curly braces removed
---------
Co-authored-by: Michael K <130953568+kmichaelk@users.noreply.github.com>
2024-07-23 15:41:00 +01:00
John Wellbelove
ce24b0cc6e
Refactored base64 encoder and decoder
2024-06-26 14:56:00 +01:00
John Wellbelove
f22ccc56ab
Reenabled address sanitizer for VS2022
2024-06-24 18:20:58 +01:00
John Wellbelove
1c261bf297
Merge branch 'feature/Base64-codec' into development
2024-06-24 17:46:00 +01:00
John Wellbelove
208d8f9642
Implementation of Base64 encoder and decoder
2024-06-24 17:44:53 +01:00
John Wellbelove
aab8630c1a
Refactored base64 encoder and decoder
2024-06-22 12:37:58 +01:00
John Wellbelove
96a1105891
Refactored base64 encoder and decoder
2024-06-19 20:22:57 +01:00
John Wellbelove
f7382f4713
Refactored base64 encoder and decoder
2024-06-17 14:23:42 +01:00
John Wellbelove
ab1ea83f77
Refactored base64 encoder and decoder
2024-06-16 13:53:05 +01:00