3340 Commits

Author SHA1 Message Date
John Wellbelove
c7ab3436e8 Fixes for < GCC 8 2021-11-21 18:21:28 +00:00
John Wellbelove
33490aeaef Fixes for < GCC 8 2021-11-21 18:09:01 +00:00
John Wellbelove
e8b954127a Fixes for < GCC 8 2021-11-21 17:34:47 +00:00
John Wellbelove
343dabe7e2 Fixes for < GCC 8 2021-11-21 17:29:56 +00:00
John Wellbelove
94575a1ac1 Fixes for Ubuntu 18 2021-11-21 17:09:16 +00:00
John Wellbelove
29c3055310 Fixes for Ubuntu 18 2021-11-21 16:52:33 +00:00
John Wellbelove
3e98f4c537 Fixes for Ubuntu 18 2021-11-21 16:45:37 +00:00
John Wellbelove
ed0d2f5759 Fixes for Ubuntu 18 2021-11-21 16:38:16 +00:00
John Wellbelove
4d43d4e8c4 Fixes for Ubuntu 18 2021-11-21 16:32:12 +00:00
John Wellbelove
6c3deb2426 Fixes for Ubuntu 18 2021-11-21 16:25:18 +00:00
John Wellbelove
02cee8c2a3 Fixes for Ubuntu 18 2021-11-21 16:17:23 +00:00
John Wellbelove
e3aea9105c Fixes for Ubuntu 18 2021-11-21 16:07:44 +00:00
John Wellbelove
2ecc0aa287 Fixes for Ubuntu 18 2021-11-21 14:47:16 +00:00
John Wellbelove
42f9505237 Fixes for Ubuntu 18 2021-11-21 14:37:58 +00:00
John Wellbelove
f5f93926c9 Fixes for Ubuntu 18 2021-11-21 14:32:49 +00:00
John Wellbelove
b9778190dc Updated version numbers 20.20.0 2021-11-21 12:35:30 +00:00
John Wellbelove
fa637f794e Update to const_iterator parameter for insert. 2021-11-21 10:36:09 +00:00
John Wellbelove
8872b9a0ae const_iterator parameters for containers 2021-11-20 19:04:39 +00:00
John Wellbelove
11fa2e4e38 Merge branch 'hotfix/remove-template-overload-abiguity' into development
# Conflicts:
#	include/etl/forward_list.h
#	include/etl/list.h
#	include/etl/vector.h
#	test/test_forward_list.cpp
#	test/test_list.cpp
2021-11-19 11:23:50 +00:00
John Wellbelove
7aaf37e21d Updated deque 2021-11-19 11:20:49 +00:00
Bo Rydberg
a41418ed91
Fix compile error for vector assign and insert with same type non-iterator (#466) 2021-11-19 11:05:04 +00:00
Bo Rydberg
e4431d3940
Fix compile error insert/assign two same types non-iterator (#467)
Assignent and insert_after of count and values of same types has to work
2021-11-19 11:04:41 +00:00
Bo Rydberg
94507ad1c6
Fix list insert and assign errors (#468)
Also fixing some test asserts related to etl::list.
2021-11-19 11:04:10 +00:00
John Wellbelove
09f196dffd Merge branch 'feature/#463-map-multimap-set-multiset-return-iterator-on-erase' into development 2021-11-18 13:31:29 +00:00
John Wellbelove
b61c5e0442 Modified deque const_iterator to iterator 2021-11-18 13:29:48 +00:00
John Wellbelove
642e36a9c4 Modified deque const_iterator to iterator 2021-11-18 12:58:33 +00:00
Steffen Zimmermann
08218d71cd harmonize copy ctor and asignment op for etl::delegate (#465)
etl::delegate has a user-written copy constructor and a defaulted assignment
operator. The copy constructor does the same as a defaulted copy constructor,
therefore there is no need to add a user-written copy constructor.

The combination of user-written copy constructor and defaulted assignment
operator causes a warning in Coverity, a static code analyzer:

copy_without_assign: Class etl::delegate<void ()> has a user-written copy constructor etl::delegate<void ()>::delegate(etl::delegate<void ()> const &) but no corresponding user-written assignment operator.

This commit replaces the user-written copy constructor with a defaulted copy
constructor, which does the same.
2021-11-18 12:26:15 +00:00
John Wellbelove
5baa1af862 Make functions for containers 2021-11-18 12:26:15 +00:00
John Wellbelove
0579ceac76 Array test with movable type 2021-11-18 12:26:15 +00:00
John Wellbelove
52586af2de Latest implementations 2021-11-18 12:26:15 +00:00
John Wellbelove
8fc7e0208a Added 'make' functions to construct containers
Added tests for 'make' and 'template deduction'
2021-11-18 12:26:13 +00:00
John Wellbelove
d93834ed83 constexpr for enum_type 2021-11-18 12:25:31 +00:00
John Wellbelove
58013e8257 changed iterator parameters to const_iterator 2021-11-17 17:59:57 +00:00
John Wellbelove
572eedcf97 Merge branch 'feature/#465-harmonize-copy-ctor-and-assignment-op-for-etl--delegate' into development 2021-11-15 11:11:01 +00:00
Steffen Zimmermann
32e8134ca4
harmonize copy ctor and asignment op for etl::delegate (#465)
etl::delegate has a user-written copy constructor and a defaulted assignment
operator. The copy constructor does the same as a defaulted copy constructor,
therefore there is no need to add a user-written copy constructor.

The combination of user-written copy constructor and defaulted assignment
operator causes a warning in Coverity, a static code analyzer:

copy_without_assign: Class etl::delegate<void ()> has a user-written copy constructor etl::delegate<void ()>::delegate(etl::delegate<void ()> const &) but no corresponding user-written assignment operator.

This commit replaces the user-written copy constructor with a defaulted copy
constructor, which does the same.
2021-11-15 11:02:02 +00:00
Steffen Zimmermann
d05bf1b4fd
let map/multimap/set/multiset return iterator on erase (#463)
Beginning with C++11, erase(iterator) and erase(const_iterator) returns
an iterator following the removed element.
2021-11-15 10:26:23 +00:00
John Wellbelove
5173b18ab1 Merge branch 'feature/cpp11-make-functions-for-containers' into development 2021-11-13 13:20:15 +00:00
John Wellbelove
a93ef47ad7 Make functions for containers 2021-11-13 13:19:52 +00:00
John Wellbelove
2e927cd85d constexpr for enum_type 2021-11-12 14:46:25 +00:00
Jeremy Overesch
c70db16a20
Remove unnecessary casts that causes warnings. (#461) 2021-11-10 17:31:31 +00:00
John Wellbelove
8a55da8e21 Array test with movable type 2021-11-10 17:29:06 +00:00
John Wellbelove
201ea97fe6 Latest implementations 2021-11-09 19:46:25 +00:00
John Wellbelove
a3eda2c2e1 Added 'make' functions to construct containers
Added tests for 'make' and 'template deduction'
2021-11-08 19:05:59 +00:00
John Wellbelove
1b7a59be92 Added non-const string pointer overload 2021-11-06 16:45:06 +00:00
John Wellbelove
b5e5c5ecca Merge branch 'development' 2021-11-06 13:42:08 +00:00
Jeremy Overesch
2c42e9f91b Change != to < in ipool to get rid of erroneous clang-tidy nullptr dereference warning (#457) 2021-11-04 12:15:54 +01:00
John Wellbelove
dd77b4ec70 First experiments 2021-11-04 12:15:14 +01:00
Jeremy Overesch
323f8eeff8
Change != to < in ipool to get rid of erroneous clang-tidy nullptr dereference warning (#457) 2021-11-03 07:04:12 +01:00
Steffen Zimmermann
4068482bd5
add ifdef guard for msvc pragma (#455)
There was a msvc specific pragma to disable a warning which causes compiler warnings for non-msvc compilers.
Additionally added a push/pop paradigm to restore the original warning state correctly.
2021-10-29 12:16:26 +01:00
John Wellbelove
60e728a88f Update version numbers 20.19.0 2021-10-27 15:30:35 +01:00