John Wellbelove
435cec705f
Modified order of standard includes
2022-09-09 14:20:24 +01:00
John Wellbelove
cd18cc6af0
Eradicated all GCC and clang warnings
2022-07-27 10:42:03 +01:00
John Wellbelove
baa47d1c33
Updated copyright notice
2022-06-10 21:45:37 +01:00
John Wellbelove
36d126c93e
Squashed commit of the following:
...
commit c217b3ec12b26104e8f1027c1766cc9d49b93a29
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 11:57:55 2022 +0200
Added mutex traits
Added transparent comparator test to multimap
commit b6487b869e5599ea067d45af1778d5c0f90c6a52
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 10:42:06 2022 +0200
Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
commit 2c2bd86ce3d5d5d698e922518421a93f70a9cc1e
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 10:29:04 2022 +0200
Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
commit d16242d20e9b6df6752a926d862d0016a452bada
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:53:37 2022 +0200
Expanded constexpr test
commit fad097e6656cd4639c2d81bc8cad2467cae4b4ce
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:53:05 2022 +0200
Added ETL_OVERRIDE to state chart process_event()
commit 25403c2225f3aff0b99105a54cfc44f1cf88d527
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:41:00 2022 +0200
Added test_etl_traits
commit e42c778cf645cb8fc06e5930336e7f1183004dfe
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:38:22 2022 +0200
Removed unused code.
commit 5a25c0c1973f7094ef3aa5b6f29529e96450451c
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Sun Apr 17 13:17:29 2022 +0200
Large and small character support macros
commit 6a463fb65ef655b700a8dea381265a3c1b622658
Author: Melg Eight <public.melg8@gmail.com>
Date: Sun Apr 17 13:54:34 2022 +0300
Fix spelling (#535 )
Signed-off-by: Melg Eight <public.melg8@gmail.com>
commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48
Author: Gabriel Arjones <arjones@arjones.com>
Date: Thu Apr 14 17:55:27 2022 -0300
cmake: write an arch independent version file (#534 )
2022-04-21 12:11:26 +02:00
John Wellbelove
740e490aed
Tested ETL traits code.
2022-03-11 20:28:26 +00:00
John Wellbelove
1cdb4c69b6
Final initializer_list updates
...
Added a separate project to test initializer_list
2022-02-14 11:06:09 +00:00
John Wellbelove
87fe3eec2d
Replaced post increment with pre increment
2022-02-03 17:16:26 +00:00
John Wellbelove
c6ff32e901
contains() & transparent comparator
2021-12-04 10:24:04 +00:00
John Wellbelove
4d48082f4f
contains() & transparent comparator for map, multimap, set and multiset
2021-12-01 18:42:22 +00:00
John Wellbelove
a16ae414a2
contains() & transparent comparator for set and multiset
2021-11-27 18:42:30 +00:00
John Wellbelove
5baa1af862
Make functions for containers
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
58013e8257
changed iterator parameters to const_iterator
2021-11-17 17:59:57 +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
f3bf0dc7fe
Disable etl::begin(), etl::end() and etl::size() for ETL_NO_STL
2021-10-20 13:34:44 +01:00
Bo Rydberg
5d64e7ff94
Remove non-const versions of iterators for containers ( #359 )
2021-03-30 08:22:17 +01:00
John Wellbelove
640704cf6b
Merge branch 'hotfix/change-static-const-to-static-etl-constant' into development
2021-03-25 17:12:33 +00:00
John Wellbelove
61b0811d65
Change static const to static ETL_CONSTANT
2021-03-25 17:12:17 +00:00
John Wellbelove
01685a36e9
Fix return type for const iterator operators from const_iterator to iterator.
2021-03-25 15:19:20 +00:00
John Wellbelove
87bf9ce76d
Updates to C++03 compatibility
2021-03-12 17:31:40 +00:00
John Wellbelove
87554af4f8
Updated file id macros
2021-03-10 12:50:07 +00:00
John Wellbelove
5696c4066b
Fix default function templates for C++03
2021-03-10 09:46:41 +00:00
Bo Rydberg
369645179f
Remove executable permission on C++ source files ( #341 )
2021-03-09 10:25:15 +00:00
John Wellbelove
7bfdb53e0d
Added enable_if for container iterator costructors, to exclude integrals from consideration
2021-01-29 11:33:50 +00:00
Steffen Zimmermann
c09d3087d6
let default assignment operator return a reference to itself ( #320 )
...
The default assignment operator in C++ shall return a reference to *this.
2020-12-18 14:09:49 +00:00
John Wellbelove
e122383d7d
Updated for automatic detection of <new> or <new.h>
2020-12-06 14:13:37 +00:00
Heinz-Peter Liechtenecker
cc418dd08f
Include new on megaAVR Boards (Arduino Nano Every) ( #313 )
...
* Change new to new.h
* Only include <new> header if ETL supports STL
* Adding a flag to define placement new if necessary
Co-authored-by: Heinz-Peter Liechtenecker <h.liechtenecker@fh-kaernten.at>
2020-12-04 12:45:21 +00:00
John Wellbelove
509089c0e2
Added template deduction guides
2020-09-28 13:14:12 +01:00
John Wellbelove
f4d9476900
Simplified conditional macros
2020-05-09 19:40:44 +01:00
John Wellbelove
e323f2267f
Changed http://www.etlcpp.com to https://www.etlcpp.com
2020-05-01 10:22:36 +01:00
John Wellbelove
bff480b9a2
Removed ETL's implementation of nullptr for pre C++11 compilers.
...
Created the macro ETL_NULLPTR for internal use. Equates to NULL or nullptr, dependent on the compiler version and project profile.
Added partial compile time versions of binary_fill and has_zero_byte.
2020-03-28 19:16:55 +00:00
John Wellbelove
4fd8099a25
Updates to pool allocate() syntax for compatibility with older compilers
2020-03-28 10:26:07 +00:00
John Wellbelove
4ffb63344d
Added 'friend const_iterator;' to iterator classes
2020-03-27 15:42:38 +00:00
John Wellbelove
9dd88e1885
Merge remote-tracking branch 'origin/development'
2020-02-11 13:27:43 +01:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
94c5eed5a4
Work in progress
2020-01-04 11:49:22 +00:00
John Wellbelove
fc50557003
Work in progress
2020-01-04 11:20:29 +00:00
John Wellbelove
5803d928a1
Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
...
# Conflicts:
# include/etl/stl/alternate/algorithm.h
# include/etl/stl/alternate/iterator.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_no_stl_algorithm.cpp
# test/test_no_stl_iterator.cpp
# test/vs2017/etl.vcxproj
2019-12-01 18:21:10 +00:00
John Wellbelove
01d0b42fe4
Modified the way that the 'No STL' macros are defined so that 'std' may be used in ETL code rather than the 'ETLSTD' macro.
2019-11-15 13:28:51 +00:00
NeimadG
7cb1967a89
br test set lowerbound ( #163 )
...
* add test of etl::set:lower_bound
* fix etl::set::lower_bound
* fix map, extra test map/multiset/multimap
2019-11-05 08:46:40 +00:00
John Wellbelove
02f7326a09
Changed STL alternate namespace to always be 'etlstd'.
...
Changed std:: to ETLSTD:: macro to select std:: or etlstd:: depending on existence of ETL_NO_STL.
2019-10-10 13:05:59 +01:00
Jonathan Pan
ee82c052c8
[ #133 ] Making sure comparison operators are in the etl namespace ( #135 )
2019-06-29 07:48:42 +01:00
John Wellbelove
fe00fbe56d
Added #include <new>
2019-06-01 17:02:42 +01:00
John Wellbelove
60f7061bef
#93 map.h on release 11.15.0 does not compile with clang-6
2018-09-04 23:25:16 +01:00
Prasenjit Sengupta
44be4eeedd
Add semicolon to DEBUG_COUNT definitions to fix clang extra semicolon warnings ( #89 )
2018-08-17 07:58:02 +01:00
John Wellbelove
d41856c7ed
Optimised compare class construction and usage.
2018-07-28 18:22:17 +01:00
John Wellbelove
3fdf3e6b1a
Merge remote-tracking branch 'origin/feature/no_stl' into development
...
# Conflicts:
# include/etl/private/ivectorpointer.h
# test/test_vector_pointer.cpp
2018-07-22 20:51:03 +01:00
John Wellbelove
e23c485aa3
Added etl::less as default compare type.
2018-06-27 19:43:46 +01:00
John Wellbelove
eeb6a310c1
Compatibility changes for Segger IDE, GCC & STLPort
2018-06-14 21:53:54 +01:00