John Wellbelove
cefce447b4
Remove initialisation of the moved from container. Not required by STL containers.
2020-03-31 11:59:05 +01:00
John Wellbelove
a108addf84
Added move API to unordered map and set containers.
...
Added a 'move' member function that moves items into the containers.
2020-03-30 18:05:33 +01:00
John Wellbelove
0158031214
Created scheduler example project.
2020-03-29 14:55:19 +01:00
John Wellbelove
2d77b63de3
Created CMakeLists.txt files for QueuedFSM and QueuedMessageRouter example projects.
2020-03-29 13:40:13 +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
Tom
5cc55527f1
Two cpp98 fixes ( #206 )
...
* C++98/03 compatibility changes
* Added support for nullptr == and != for cpp98
* This default type made problem in cpp98
Co-authored-by: John Wellbelove <github@wellbelove.co.uk>
2020-03-28 08:29:05 +00:00
John Wellbelove
4ffb63344d
Added 'friend const_iterator;' to iterator classes
2020-03-27 15:42:38 +00:00
John Wellbelove
d59f53fe25
C++98/03 compatibility changes
2020-03-27 13:11:17 +00:00
Tom
66bf24ad94
Removed redundant usage of cpp11 feature ( #205 )
2020-03-25 19:37:22 +00:00
John Wellbelove
c90c7967c6
Added etl::message_packet classes
2020-03-23 19:49:24 +00:00
John Wellbelove
031e86d1e3
Added etl::message_packet classes and generator
2020-03-23 19:48:43 +00:00
John Wellbelove
4df9197aeb
Fix C++03 compatibility issues in memory.h and utility.h
2020-03-20 19:59:38 +00:00
John Wellbelove
a06332f163
Updates to make unique_ptr similar to std::unique_ptr
...
Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS
2020-03-19 17:59:45 +00:00
cajun-rat
7b1a813e43
FreeRTOS implementation of etl::mutex ( #202 )
...
Signed-off-by: Phil Wise <phil@phil-wise.com>
2020-03-19 17:23:36 +00:00
John Wellbelove
cf4cc49e56
Updated memory unit tests.
...
Added ETL_EXCEPTIONS_DISABLED macro test to platform.h
2020-03-19 17:16:29 +00:00
John Wellbelove
1eccbdbbbe
etl::exchange modified for better C++03 compatibility
2020-03-19 10:37:03 +00:00
Tom
70dbda2e60
Made template compatible with cpp11 ( #201 )
2020-03-19 08:56:59 +00:00
John Wellbelove
582aa051c5
rvalue reference support for heap functions and etl::priority_queue
2020-03-18 19:51:41 +00:00
John Wellbelove
7b48e3ebf3
type_traits.h is_one_of fix for C++03
...
Change 'using' to 'typedef' for add_lvalue_reference
2020-03-18 14:53:55 +00:00
John Wellbelove
c5ee3ec0ab
Merge remote-tracking branch 'origin/hotfix/type_traits_is_rvalue_reference' into development
...
# Conflicts:
# include/etl/type_traits.h
2020-03-18 14:32:00 +00:00
Tom
51298be2e4
Added cpp11 non supported fixes ( #200 )
...
* Added cpp11 non supported fixes
* pull request fixes
2020-03-18 14:28:05 +00:00
John Wellbelove
32409ed7bb
Small compatibility fix to nullptr.h
2020-03-18 00:49:50 +00:00
John Wellbelove
e4ad911468
Small compatibility fix to nullptr.h
2020-03-18 00:39:38 +00:00
John Wellbelove
cc09b2b3f3
Removed redundant includes
2020-03-17 19:26:48 +00:00
John Wellbelove
a5de2a3de8
Update version numbers
2020-03-15 17:59:35 +00:00
John Wellbelove
ebb14922a6
Move definitions of move_s to eliminate forward reference
2020-03-15 17:58:27 +00:00
John Wellbelove
5ce20082b0
Removed redundant include
2020-03-15 15:05:11 +00:00
Tom
03dc67e45c
Fixed white space ( #197 )
2020-03-12 17:28:09 +00:00
John Wellbelove
aa80ddfccb
Updated version number
2020-03-02 21:30:36 +00:00
mchodzikiewicz
2c1faa1bf9
Add optional::has_value() to fulfill C++17's API ( #195 )
2020-03-02 12:32:56 +00:00
John Wellbelove
f20969ea40
Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference
2020-02-26 19:47:36 +01:00
John Wellbelove
e3f665d3b2
Moved definition of swap to utility
2020-02-24 10:32:41 +01:00
John Wellbelove
5cdcc8d4c6
Fix etl::pair error and warning
2020-02-18 10:45:09 +01:00
John Wellbelove
e6617dc7e7
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-02-12 09:40:20 +01:00
John Wellbelove
9dd88e1885
Merge remote-tracking branch 'origin/development'
2020-02-11 13:27:43 +01:00
Tobias Müller
8f860964d4
Default to automatic profile detection if no profile is set ( #192 )
2020-02-09 11:50:50 +01:00
Tobias Müller
c757ede537
Add missing count calculation ( #190 )
2020-01-31 22:03:41 +00:00
John Wellbelove
b80763e644
Fixed incorrect ETL_ALWAYS_ASSERT in etl::callback_timer
2020-01-29 17:38:02 +00:00
Tobias Müller
238244e1a1
Fix warnings about implicitly-declared assignment operators ( #189 )
2020-01-24 12:01:46 +00:00
John Wellbelove
a1a0391282
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-15 16:32:01 +00:00
John Wellbelove
282655259f
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-14 17:54:56 +00:00
John Wellbelove
8a99a2725c
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-14 12:46:17 +00:00
John Wellbelove
af5a760d5d
Merge remote-tracking branch 'origin/development'
2020-01-14 11:57:04 +00:00
John Wellbelove
da20977d64
Merge remote-tracking branch 'origin/feature/refactor_type_traits' into development
2020-01-12 16:50:45 +00:00
John Wellbelove
97abf6ccc0
Added min_element & max_element
2020-01-12 16:25:37 +00:00
John Wellbelove
c794bf14fe
Final changes
2020-01-11 17:22:33 +00:00
John Wellbelove
7fa142dc71
Final changes. Added wrapper around STL sort functions
2020-01-11 13:57:17 +00:00
John Wellbelove
6ad77153be
Final changes
2020-01-10 14:01:33 +00:00
John Wellbelove
f54563ef07
Added use of C++11's 'alignof' keyword in 'alignment_of', if available
2020-01-10 13:27:05 +00:00