352 Commits

Author SHA1 Message Date
John Wellbelove
67b24408cb Renamed due to unresolvable clash with system header on Linux. 2017-08-16 13:12:30 +01:00
John Wellbelove
05d9f50f1d Changes to allow compilation under various compilers. 2017-08-14 14:43:33 +01:00
John Wellbelove
78c81ef929 Added allocate() and static assert test to etl::pool 2017-08-09 10:25:54 +01:00
John Wellbelove
d1df703d8c Shortened random_multiply_with_carry to random_mwc 2017-08-08 18:51:13 +01:00
John Wellbelove
302646850e Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/algorithm.h
#	test/codeblocks/ETL.depend
#	test/vs2017/etl.vcxproj.filters
2017-08-08 18:46:21 +01:00
John Wellbelove
099b3f8cfd Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
2017-08-07 15:54:30 +01:00
John Wellbelove
678984bf08 Merge branch 'Emplace' into development 2017-07-26 11:04:31 +01:00
John Wellbelove
044535d6d6 Merge branch 'Emplace' into development
# Conflicts:
#	src/CreateFSM.bat
#	src/CreateMessageRouter.bat
#	src/flat_map.h
#	src/fsm.h
#	src/fsm_generator.h
#	src/message_router.h
#	src/message_router_generator.h
#	src/queue.h
#	src/vector.h
#	test/codeblocks/ETL.depend
#	test/codeblocks/ETL.layout
#	test/data.h
#	test/test_fsm.cpp
#	test/test_message_router.cpp
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
#	test/vs2017/random.csv
2017-07-26 10:06:23 +01:00
John Wellbelove
74beb3421d Fixed polynomial value for random_lsfr 2017-07-25 19:18:01 +01:00
John Wellbelove
c95c2a30df Added emplace functions supporting up to four parameters to the following containers.
forward_list
list
vector
queue
priority_queue
stack

# Conflicts:
#	src/vector.h
#	test/data.h
#	test/vs2017/random.csv
2017-07-21 12:00:15 +01:00
John Wellbelove
c981bd0c96 Added emplace functions supporting up to four parameters to the following containers.
forward_list
list
vector
queue
priority_queue
stack

# Conflicts:
#	src/vector.h
#	test/data.h
#	test/vs2017/random.csv
2017-07-21 11:59:40 +01:00
John Wellbelove
0cee4dab07 More changes to compatibility with platforms that do not support 8 bit types. 2017-07-09 10:40:44 +01:00
John Wellbelove
87b0aca32b Added lcg, clcg and lsfr random number generators 2017-07-06 18:08:50 +01:00
jwellbelove
8dfba5f648 Remove 'explicit' incompatible with C++03 2017-06-30 12:50:08 +01:00
jwellbelove
fba898ed20 Added transform_n_if algorithms 2017-06-29 12:20:40 +01:00
John Wellbelove
14074ade05 Additional algorithms. 2017-06-28 19:13:12 +01:00
jwellbelove
6e04c8b190 Added copy_n_if, for_each_n, for_each_n_if 2017-06-28 14:26:40 +01:00
John Wellbelove
b75226caf6 Moved common code to base class. 2017-06-27 18:19:28 +01:00
John Wellbelove
64f4c16480 Formating 2017-06-26 19:09:31 +01:00
John Wellbelove
d79bdc89c6 Moved common code to base class. 2017-06-26 19:09:13 +01:00
John Wellbelove
a51530a96c Completed modification of flat map/set classes to use reference flat map/set as bases. 2017-06-25 21:25:54 +01:00
John Wellbelove
58ea47ef44 Removed duplicate header include. 2017-06-25 21:24:31 +01:00
John Wellbelove
61705c8ded Merge remote-tracking branch 'origin/development' 2017-06-21 20:26:55 +01:00
John Wellbelove
4fe242baff Renamed base class MAX_SIZE to CAPACITY to avoid name clash with top level classes. 2017-06-21 19:43:09 +01:00
John Wellbelove
111a85a3e7 Removed redundant line. 2017-06-19 19:58:32 +01:00
John Wellbelove
b9865dc9f3 Merge remote-tracking branch 'origin/development' 2017-06-18 14:54:17 +01:00
John Wellbelove
62a70884bf Updated some definitions to use those from C++11 <type_traits if available. 2017-06-18 14:53:46 +01:00
John Wellbelove
3a89aaf612 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/cstring.h
#	src/flat_map.h
#	src/set.h
#	src/u16string.h
#	src/u32string.h
#	src/wstring.h
#	test/test_string_char.cpp
#	test/test_string_u16.cpp
#	test/test_string_u32.cpp
#	test/test_string_wchar_t.cpp
#	test/vs2017/etl.vcxproj.filters
2017-06-17 17:52:17 +01:00
John Wellbelove
bc7c3e4426 Merge remote-tracking branch 'origin/memcpy_containers' into development
# Conflicts:
#	test/test_string_char.cpp
#	test/test_string_u16.cpp
#	test/test_string_u32.cpp
#	test/test_string_wchar_t.cpp
2017-06-17 16:39:45 +01:00
John Wellbelove
97ead6fc27 Added repair functions to allow certain containers to copied with low level functions such as memcpy. 2017-06-17 15:33:04 +01:00
John Wellbelove
d89e244fac Renamed some classes for be compatible with C++11 standards. 2017-06-17 08:57:11 +01:00
jwellbelove
8a6de78bfa Experimental etl::vector with 'fixup()' 2017-06-16 12:43:44 +01:00
John Wellbelove
3f07a785f4 Fixed sort() so that it is now 'stable'.
Fixed return value type for const_iterator::operator->() in etl::list
2017-06-14 23:42:11 +01:00
John Wellbelove
d16f10cdb1 Added hash functors for top level string classes. 2017-06-14 23:39:35 +01:00
John Wellbelove
889add0db6 Fixed sort() so that it is now 'stable'.
Fixed return value type for const_iterator::operator->() in etl::list
2017-06-14 23:35:56 +01:00
John Wellbelove
4bc0b58c3c Added hash functors for top level string classes. 2017-06-14 20:26:58 +01:00
John Wellbelove
c2ed3bba59 Added 'typename' 2017-06-13 17:35:03 +01:00
John Wellbelove
6e4ba564a2 Added 'typename' 2017-06-13 17:32:44 +01:00
John Wellbelove
7aeb8636c7 Experimental versions 2017-06-12 23:46:51 +01:00
John Wellbelove
2732f7f68f Conditional compilation for hash functions. 2017-06-12 23:18:16 +01:00
John Wellbelove
6a69089bfe Conditional compilation for hash functions. 2017-06-12 23:16:37 +01:00
John Wellbelove
14b25fc3f2 Conditional compilation for hash functions. 2017-06-12 23:08:49 +01:00
John Wellbelove
6c512e261c Conditional compilation for hash functions. 2017-06-12 22:59:36 +01:00
John Wellbelove
64c8ec3c38 Retargetted solution (reverted from commit 9040f8bf9b41fc67e296e98a9f070e15ee237ead) 2017-06-12 22:53:48 +01:00
John Wellbelove
3bbed492d6 Retargetted solution (reverted from commit 9040f8bf9b41fc67e296e98a9f070e15ee237ead) 2017-06-12 22:39:23 +01:00
John Wellbelove
7b970c1ecc Renamed key_value_parameter_t to key_parameter_t 2017-06-12 22:28:32 +01:00
jwellbelove
27d1a0ef20 Removed unused variable. 2017-06-12 22:28:32 +01:00
jwellbelove
a8a81ec011 Removed erronious 'const' and '&' from 'key_value_parameter_t' parameters, as for non-fundamental types they will already be 'const &'. 2017-06-12 22:28:31 +01:00
John Wellbelove
909fc87515 Renamed key_value_parameter_t to key_parameter_t 2017-06-12 22:27:20 +01:00
jwellbelove
855601484d Removed unused variable. 2017-06-12 12:49:44 +01:00