1345 Commits

Author SHA1 Message Date
John Wellbelove
2c0f56841e Almost finalised circular_iterator and tests 2022-09-04 21:05:22 +01:00
John Wellbelove
13a1ce6f8e Merge branch 'feature/circular_iterator' of https://github.com/ETLCPP/etl into feature/circular_iterator 2022-09-03 13:24:46 +01:00
John Wellbelove
15fd907549 Merge branch 'hotfix/#582-unordered_set-equality-comparison-fails-when-hash-collisions-occur' into development 2022-09-03 11:57:11 +01:00
John Wellbelove
eceaa23f47 #584 unordered_set::const_iterator has incorrect value_type 2022-09-03 11:56:24 +01:00
John Wellbelove
7c5a6e49a1 Fixed unordered container equality tests to match STL 2022-09-02 20:40:17 +01:00
John Wellbelove
0f2b9bb019 Fix non-C++03 code syntax 2022-09-02 15:56:39 +01:00
John Wellbelove
c4b67a2708 Merge branch 'development' of https://github.com/ETLCPP/etl into development 2022-09-02 15:04:23 +01:00
Ilya
818908fb6e
Add minmax_push.h/minmax_pop.h includes (#589) 2022-09-02 15:04:01 +01:00
John Wellbelove
b13442823a Merge branch 'hotfix/#585-etl-result-void-being-unusable-due-to-deleted-default-constructor' into development 2022-09-02 14:06:15 +01:00
John Wellbelove
245fbdeea9 Fixes for etl::result<void, TError> 2022-09-02 14:05:46 +01:00
John Wellbelove
201c1fb918 Merge branch 'hotfix/#583-permit-non-default-constructable-hashes-and-key-equals-in-unordered_map' into development 2022-09-02 13:32:23 +01:00
John Wellbelove
4f5847e189 Updates for unordered maps and sets for an API that better matches the STL 2022-09-02 13:32:00 +01:00
Jesse Li
aab900f002
Permit non-default-constructable hashes and key-equals (#583)
Co-authored-by: Jesse <jli@planarmotor.com>
2022-09-01 19:41:09 +01:00
John Wellbelove
b00929ef09 Merge branch 'feature/#581-hash-functions-for-enum' into development 2022-09-01 19:26:35 +01:00
John Wellbelove
a48aa15b60 Formatting 2022-09-01 19:16:24 +01:00
Jesse Li
a38a8fc33c
#227 Hash function for enums (#581)
* #227 Hash function for enums

* Move enum hash definition to bottom, so gcc doesn't complain about it

* Explicitly specify etl hash

Co-authored-by: Jesse <jli@planarmotor.com>
2022-09-01 19:10:35 +01:00
John Wellbelove
f0862971c1 Merge branch 'hotfix/#585-etl-result-void-being-unusable-due-to-deleted-default-constructor' into development 2022-09-01 18:56:46 +01:00
jeremyerdmann
7d7b7633bd
Fixed IAR build warnings in message_packet (#587)
IAR was tripping up on the syntax, generating warnings.  This addresses that per the discussion in #586.

Co-authored-by: Jeremy Erdmann <jeremy.erdmann@millerwelds.com>
2022-09-01 18:52:34 +01:00
Eyal Abramovitch
927491c763
Fix etl::result<void> being unusable due to deleted default constructor (#585) 2022-08-31 12:43:56 +01:00
John Wellbelove
64fa058f6b Work in progress 2022-08-26 09:49:13 +01:00
John Wellbelove
5aa14f85aa Revert "Work in progress"
This reverts commit b3a77d6f83088a01969a3164373166d14ce36639.
2022-08-26 09:47:05 +01:00
John Wellbelove
b3a77d6f83 Work in progress 2022-08-26 09:40:54 +01:00
John Wellbelove
868329f9e4 Remove redundant include 2022-08-24 11:27:48 +01:00
John Wellbelove
d3d9dbdbcd #580 numeric_limits<char> redefinition for gnu c++20 2022-08-24 11:27:12 +01:00
John Wellbelove
d9bff52343 added ETL_NODISCARD to binary_search 2022-08-23 19:46:45 +01:00
John Wellbelove
6a320608b9 class to typename 2022-08-23 19:38:25 +01:00
John Wellbelove
f7cb225857 Fixed conditional compilation 2022-08-23 18:04:40 +01:00
John Wellbelove
69e09299bf element_t replaced with element_type 2022-08-23 18:03:53 +01:00
John Wellbelove
a03f67a94a Removed the use of ETL_FORCE_CONSTEXPR_ALGORITHMS as all algorithms may be constexpr. 2022-08-20 13:30:25 +01:00
John Wellbelove
5dc9f49516 Removed the use of ETL_FORCE_CONSTEXPR_ALGORITHMS as all algorithms may be constexpr. 2022-08-20 12:44:34 +01:00
John Wellbelove
c99f2c1068 Renames + optimisations 2022-08-20 12:43:50 +01:00
John Wellbelove
2e7b635bfd Add asserts in to_string 2022-08-19 22:19:48 +01:00
John Wellbelove
ec4fb59b89 More to_string tests
Removed asserts so all functions are noexcept
2022-08-19 10:22:57 +01:00
John Wellbelove
e1bd545391 Major changes complete 2022-08-18 22:02:34 +01:00
John Wellbelove
7868445166 Work in progress
Modify specialisations for bitset element types
2022-08-17 20:35:44 +01:00
John Wellbelove
72263a9ced Work in progress
More tests
2022-08-16 18:10:05 +01:00
John Wellbelove
2d9c8ccd2a Work in progress
Start single element optimisations
2022-08-15 16:33:35 +01:00
John Wellbelove
42d272cae4 Work in progress
All tests for implicit bitset element type enabled
2022-08-15 14:57:42 +01:00
John Wellbelove
3a4af24ab7 Work in progress
Added more CHECK macros
Added bitset_fast class for bitsets that are the same size as an integral type
2022-08-13 12:15:41 +01:00
John Wellbelove
3ee5abf74b Work in progress 2022-08-12 13:39:24 +01:00
John Wellbelove
2df71e4384 Optimised bitset shift operations 2022-08-09 12:45:29 +01:00
John Wellbelove
ccfce560ae Optimised shifts 2022-08-09 12:45:29 +01:00
John Wellbelove
e10cd6dab3 Rationalised etl::send_message functions 2022-08-09 12:45:11 +01:00
John Wellbelove
9d33f9bf28 Added ability to set the bitset from wchar_t, char16_t and char32_t 2022-08-05 09:46:09 +01:00
John Wellbelove
86ae10a4ec Fixed implicit virtual warning for etl::vector 2022-08-04 17:07:19 +01:00
John Wellbelove
debbfddf35 Optimisations and addition of set() for all char types. 2022-08-04 16:31:51 +01:00
John Wellbelove
30d5a1b79b Added newline at end of file 2022-08-04 15:35:10 +01:00
John Wellbelove
5a9fc4dd00 Fixed C++03 delegate compatibility 2022-08-04 15:33:43 +01:00
John Wellbelove
7e8829d1b0 Changed operator= in etl::string_view from ETL_CONSTEXPR to ETL_CONSTEXPR14 2022-08-04 15:32:54 +01:00
John Wellbelove
87d00ad4d1 Added ARM5 and ARM6 compiler compatibility 2022-08-04 15:31:39 +01:00