26 Commits

Author SHA1 Message Date
John Wellbelove
a10dfd433a Issue #413 Queue's pop_into copies rather than moves 2021-08-13 19:21:48 +01:00
Daníel Grétarsson
9c2b5c3d75
Add container_type type definition to etl::queue to better match std::queue (#378)
* Add container_type type definition to better match std::queue

* Add container_type typedef to priority_queue and stack classes to maximize compatibility with the std library
2021-05-20 09:14:31 +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
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
Andreas W
cf1c623686
Use etl::move instead of std::move (#233)
Both optional and queue used std::move without checking
ETL_NOT_USING_STL. Both usages can simply use etl::move
instead.
2020-06-18 13:11:07 +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
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
e241544290 Fixed C++03 macros leftover from testing 2019-02-15 10:43:21 +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
Jonathan Pan
8e9eaf4f7c [#101] Adding non-const emplace overloads for vector (#102) 2018-11-04 11:51:55 +00:00
John Wellbelove
02987191a5 Removed push(void) push_back(void) and push_front(void) function for containers. 2018-09-15 08:58:08 +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
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
8085f97e52 Rewrite of debug count so that it does not exists in unit test code or when explicitly enabled. 2018-04-24 14:15:30 +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
4864e95b36 New directory layout 2018-03-18 17:48:29 +00:00