26 Commits

Author SHA1 Message Date
John Wellbelove
f4d9476900 Simplified conditional macros 2020-05-09 19:40:44 +01:00
John Wellbelove
d55695e3d4 Strings may use external buffers if the 'max size' template parameter is zero. 2020-05-09 12:47:55 +01:00
Tobias Müller
238244e1a1 Fix warnings about implicitly-declared assignment operators (#189) 2020-01-24 12:01:46 +00:00
John Wellbelove
af5a760d5d Merge remote-tracking branch 'origin/development' 2020-01-14 11:57:04 +00: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
0685ae9c20 Added explicit construction from string_view 2019-12-22 21:10:49 +00:00
John Wellbelove
3649f839f5 Merge remote-tracking branch 'origin/feature/make_string_with_capacity' into development
# Conflicts:
#	include/etl/cstring.h
#	include/etl/u16string.h
#	include/etl/u32string.h
#	include/etl/wstring.h
2019-12-06 12:39:31 +00:00
Rolan Reznik
b5184d903e Make string optimization (#179)
* Add NO_STL std::reverse implementation (#174)

Follows the example implementation on [1].

[1] https://en.cppreference.com/w/cpp/algorithm/reverse

* 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

* Fix merge function duplication

* Merge remote-tracking branch 'origin/development'

# Conflicts:
#	include/etl/private/choose_pair_types.h
#	include/etl/private/choose_tag_types.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt

* Update README.md

* make_string optimisation. String length is calculated in compile time, no need to use strlen.
2019-12-06 10:16:53 +00:00
John Wellbelove
727596b6ed Merge remote-tracking branch 'origin/feature/etl__make_string' into development
# Conflicts:
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2019-12-04 20:55:18 +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
Rolan Reznik
7f7a29bce1 Added possibility to force explicit conversion of string from char. (#172)
i.e. string/string_view constructors from char* can be marked as explicit.

#170
2019-11-26 10:35:05 +00:00
John Wellbelove
01d0b42fe4 Modified the way that the 'No STL' macros are defined so that 'std' may be used in ETL code rather than the 'ETLSTD' macro. 2019-11-15 13:28:51 +00:00
John Wellbelove
02f7326a09 Changed STL alternate namespace to always be 'etlstd'.
Changed std:: to ETLSTD:: macro to select std:: or etlstd:: depending on existence of ETL_NO_STL.
2019-10-10 13:05:59 +01:00
John Wellbelove
512ab6338d Changed STL alternate namespace to always be 'etlstd'.
Changed std:: to ETLSTD:: macro to select std:: or etlstd:: depending on existence of ETL_NO_STL.
2019-10-10 11:12:35 +01:00
John Wellbelove
d6d078b49e Unified 'to_string' API 2019-04-15 14:58:12 +01:00
John Wellbelove
7feb3c1cc4 Created integral to_string.
Started etl::string tests.
2019-04-06 21:10:20 +01:00
John Wellbelove
fe9a881388 Merge branch 'development' into feature/to_string
# Conflicts:
#	test/vs2017/etl.vcxproj.filters
2019-04-06 12:17:15 +01:00
Arek Sredzki
92fddd7e42 Add const ref istring constructors (#119) 2019-03-01 19:31:54 +00:00
John Wellbelove
e5e38a8ee8 Compatibility with Keil compiler 2018-08-27 22:07:17 +01:00
John Wellbelove
3fdf3e6b1a Merge remote-tracking branch 'origin/feature/no_stl' into development
# Conflicts:
#	include/etl/private/ivectorpointer.h
#	test/test_vector_pointer.cpp
2018-07-22 20:51:03 +01:00
John Wellbelove
eeb6a310c1 Compatibility changes for Segger IDE, GCC & STLPort 2018-06-14 21:53:54 +01:00
Austin Morton
dcd42ee17e Fix assumption that min/max macros will always be defined on a Microsoft compiler (#72)
Merge in min-max changes to a feature branch
2018-04-24 14:27:18 +01:00
John Wellbelove
f2416da7ea Changed header guards to be GCC compliant. 2018-04-21 09:24:45 +01:00
John Wellbelove
ab65a5abaa Added std::initializer_list constructors when ETL_CPP11_SUPPORTED is defined as 1 2018-03-25 14:34:28 +01:00
John Wellbelove
4864e95b36 New directory layout 2018-03-18 17:48:29 +00:00