797 Commits

Author SHA1 Message Date
John Wellbelove
380fc59b2b Further updates to mem_type 2021-05-26 22:04:34 +01:00
John Wellbelove
d8777dc2f6 Further updates to mem_type 2021-05-26 11:09:02 +01:00
John Wellbelove
ab7fcbee64 Added experimental uni_type 2021-05-25 23:06:15 +01:00
John Wellbelove
3cbd432a29 Added experimental uni_type 2021-05-25 11:47:25 +01:00
John Wellbelove
84e1241c39 Added experimental uni_type 2021-05-25 11:02:24 +01:00
John Wellbelove
67c19bb0dc Fold expression experiment 2021-05-23 20:37:29 +01:00
John Wellbelove
f4060bc9ea Working. No move functionality. 2021-05-23 16:59:10 +01:00
John Wellbelove
34479a3e31 Working. No move functionality. 2021-05-23 16:10:58 +01:00
John Wellbelove
92515111d9 Interim commit 2021-05-22 20:28:40 +01:00
John Wellbelove
c3bef2c493 Interim commit 2021-05-22 17:11:48 +01:00
John Wellbelove
820bc36aa6 Initial commit 2021-05-21 18:05:02 +01:00
Martino Pilia
42546176a9
Fix uninitialised warning in etl::optional (#381)
The constructors of etl::optional with no argument or with etl::nullopt_t
argument do not initalise the storage data member. When compiling with
gcc with some specific optimisation levels, this can generate a
-Wmaybe-uninitialized diagnostic warning.
2021-05-21 17:17:43 +01:00
John Wellbelove
fc6609276c Added container_type to etl::stack, etl::queue and etl::priority_queue. 2021-05-20 20:54:01 +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
f131356dc2 Fixed cross compiler compatibility for etl::circular_buffer. 2021-05-18 11:05:21 +01:00
John Wellbelove
0efecca700 Updated version numbers 2021-05-16 11:12:28 +01:00
John Wellbelove
bbb390ba52 Fixed FSM generation for non-default numbers message types. 2021-05-16 10:57:44 +01:00
John Wellbelove
161b27cb32 Updated versions 2021-05-10 17:42:53 +01:00
John Wellbelove
0990fa56ee Fixed sparse histogram class name 2021-05-10 16:18:23 +01:00
John Wellbelove
8a533485f0 Fixed incorrect histogram end() and cend() return values. 2021-04-27 18:21:44 +01:00
John Wellbelove
4e8ff433c6 Fixed histogram end() and cend() values. 2021-04-27 18:17:35 +01:00
John Wellbelove
b084913b3f Updated versions 2021-04-25 21:03:07 +01:00
John Wellbelove
2e115df488 Merge branch 'feature/Add-hierarchical-FSM-capabilities-to-the-FSM' into development 2021-04-25 15:11:25 +01:00
John Wellbelove
43d16b1034 Adjustments to code and optimisations 2021-04-25 15:11:02 +01:00
John Wellbelove
86edd1a504 Adjustments to code and optimisations 2021-04-25 14:21:40 +01:00
John Wellbelove
b01d58a21c Adjustments to code and optimisations 2021-04-25 14:20:29 +01:00
John Wellbelove
c308dc427b Added additional accept() functions for etl::message_packet.
Updated version numbers
2021-04-24 11:28:45 +01:00
John Wellbelove
60afadcf86 Merge branch 'hotfix/misspelt-macro' into development 2021-04-24 11:25:20 +01:00
John Wellbelove
d40823d2a2 Fixed misspelt DBL_MAX macro 2021-04-24 11:25:02 +01:00
John Wellbelove
7f2ea864e0 Minor changes & renames 2021-04-24 09:25:39 +01:00
John Wellbelove
c5850a005b Minor changes 2021-04-23 11:58:58 +01:00
John Wellbelove
f85d13660f Added additional accept() functions. 2021-04-23 11:29:20 +01:00
Jeremy Overesch
2d3b063df6
Add hierarchical FSM capabilities to the FSM. (#374)
In order to work properly, states with no change need to return ifsm_state::NO_CHANGE rather than their given state id.
Otherwise, when an event isn't handled, it will return the parent state rather than the active state.
Also, in this implementation, a state cannot return a different state during the on_enter_state() function. An assert has been added to check for that.
2021-04-22 08:40:53 +01:00
Jeremy Overesch
d834586d30
Add a static accepts() function to message_packet. Allows a router to determine if a packet type can be created with a generic imessage it received. (#373) 2021-04-22 08:39:41 +01:00
John Wellbelove
7dfd971b4e Fixed ETL_ASSERT for non-class types in etl::pool. 2021-04-19 19:21:14 +01:00
John Wellbelove
32ca2d87d2 Replaced std::distance with etl::distance in erase() and erase_if() for vector.h 2021-04-18 08:45:29 +01:00
James Wang
6770774f69
Delete the superfluous ; (#366) 2021-04-14 21:00:01 +01:00
John Wellbelove
0d6c421fb1 Added etl::erase, etl::erase_if, etl::remove, etl::remove_if 2021-04-13 12:27:11 +01:00
John Wellbelove
f689f32259 Fixed make_string sizes 2021-04-13 10:09:50 +01:00
John Wellbelove
a5ee0bb24c Result member functions are now const 2021-04-12 11:21:10 +01:00
John Wellbelove
32ccdb1bab Updated for new tests and sanity checks 2021-04-11 20:58:28 +01:00
John Wellbelove
d0c5004dfb Updated version and release notes 2021-04-11 10:06:08 +01:00
John Wellbelove
2ec666ac51 Added using imessage_router::receive to etl::fsm 2021-04-10 19:15:25 +01:00
John Wellbelove
285a2cafe6 Change int index parameter to size_t 2021-04-10 19:06:40 +01:00
John Wellbelove
c426fc40b9 Changed traits implementation for maths algorithms 2021-04-10 18:51:10 +01:00
John Wellbelove
1ac0311cfb Unit tests for algorithms and functors 2021-04-10 15:21:16 +01:00
John Wellbelove
71d03fa8e2 Removed enable_if in maths algorithms 2021-04-07 10:29:57 +01:00
John Wellbelove
d5634910a4 Added etl::variance 2021-04-06 20:41:08 +01:00
John Wellbelove
3ba993cf9f Added population/sample option 2021-04-06 10:08:26 +01:00
John Wellbelove
203f082c91 Added etl::standard_deviation + corrected covariance 2021-04-05 20:31:20 +01:00