32 Commits

Author SHA1 Message Date
John Wellbelove
53084ae932 Added c++03 zero parameter emplace member functions 2023-08-25 02:05:46 +01:00
John Wellbelove
963e39f716 Removed redundant 'const' qualifiers in non-type template parameters 2023-04-30 20:42:49 +01:00
John Wellbelove
730be1b39d Added ETL_OR_STD17 macro as the namespace for size()
Added definitions for all public statics
2023-04-23 18:59:41 +01:00
John Wellbelove
435cec705f Modified order of standard includes 2022-09-09 14:20:24 +01:00
John Wellbelove
baa47d1c33 Updated copyright notice 2022-06-10 21:45:37 +01:00
John Wellbelove
eb49582837 Small optimisations for computing indexes for queues & cyclic_value. 2022-03-26 18:30:33 +00:00
John Wellbelove
740e490aed Tested ETL traits code. 2022-03-11 20:28:26 +00:00
John Wellbelove
d2ba5e9956 Multiple code changes, delegates & timers 2021-12-14 10:52:49 +00:00
John Wellbelove
3f79e61f97 Add front() to locked queues 2021-10-02 14:27:23 +01:00
fractalembedded
71c8544f35
Add peek to queue_spsc_atomic (#430) 2021-10-01 18:41:16 +01:00
John Wellbelove
61b0811d65 Change static const to static ETL_CONSTANT 2021-03-25 17:12:17 +00:00
John Wellbelove
87554af4f8 Updated file id macros 2021-03-10 12:50:07 +00:00
John Wellbelove
e5f4eb6fb3 Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date:   Sun Jan 31 12:32:35 2021 +0000

    Fixed rollover error for etl::queue_spsc_atomic

    Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
    Updated QueuedMessageRouter example
2021-01-31 12:34:49 +00:00
John Wellbelove
20ada628a6 Refactored queues 2021-01-26 19:13:15 +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
f4d9476900 Simplified conditional macros 2020-05-09 19:40:44 +01: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
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
fe00fbe56d Added #include <new> 2019-06-01 17:02:42 +01:00
John Wellbelove
f0fcb78e24 Enabled emplace functions for C++03 2019-02-24 10:04:13 +01:00
John Wellbelove
fd50e7e385 Move C++03 force macros to profile 2019-02-23 08:36:07 +01:00
John Wellbelove
9803bf8bde Fix inconsistent ETL_FILE definitions 2019-02-18 19:32:02 +01:00
John Wellbelove
3a389a9d96 Created C++03 Code::Blocks project as a quick check for C++03 syntax compatibility. 2019-02-14 14:48:31 +01:00
John Wellbelove
6b29f4eaca Added C++03/C++11 emplace for deque, priority_queue, queues, stack, variant & vector. 2018-12-09 12:11:54 +00:00
John Wellbelove
0e38e6959a Merge remote-tracking branch 'origin/feature/memory_models' into development
# Conflicts:
#	include/etl/version.h
#	support/Release notes.txt
2018-07-29 12:55:23 +01:00
John Wellbelove
d63afc70ea Removed non-compliant constexpr 2018-04-21 18:26:24 +01:00
John Wellbelove
f2416da7ea Changed header guards to be GCC compliant. 2018-04-21 09:24:45 +01:00
John Wellbelove
e3b40c1eb4 Added capacity() to etl::queue
Prefixed max_size() and capacity() with ETL_CONSTEXPR to all queue types
2018-04-14 13:15:21 +01:00
John Wellbelove
1ca0ad94a9 Added SPSC and MPSC queues 2018-04-08 18:10:23 +01:00