diff --git a/include/etl/to_string.h b/include/etl/to_string.h index b1cb280f..c8fe60b0 100644 --- a/include/etl/to_string.h +++ b/include/etl/to_string.h @@ -43,6 +43,7 @@ namespace etl { //*************************************************************************** /// Default format spec. + /// !etl::istring && !etl::string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::istring&>::type @@ -54,7 +55,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// !etl::istring && !etl::string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::istring&>::type @@ -65,6 +67,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::istring //*************************************************************************** template typename etl::enable_if::value, const etl::istring&>::type @@ -78,7 +81,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::istring //*************************************************************************** template typename etl::enable_if::value, const etl::istring&>::type @@ -91,6 +95,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::string_view //*************************************************************************** template typename etl::enable_if::value, const etl::istring&>::type @@ -104,7 +109,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::string_view //*************************************************************************** template typename etl::enable_if::value, const etl::istring&>::type diff --git a/include/etl/to_u16string.h b/include/etl/to_u16string.h index 40473e1b..cfb6ffe8 100644 --- a/include/etl/to_u16string.h +++ b/include/etl/to_u16string.h @@ -43,6 +43,7 @@ namespace etl { //*************************************************************************** /// Default format spec. + /// !etl::iu16string && !etl::u16string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iu16string&>::type @@ -54,7 +55,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// !etl::iu16string && !etl::u16string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iu16string&>::type @@ -65,6 +67,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::iu16string //*************************************************************************** template typename etl::enable_if::value, const etl::iu16string&>::type @@ -78,7 +81,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::iu16string //*************************************************************************** template typename etl::enable_if::value, const etl::iu16string&>::type @@ -91,6 +95,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::u16string_view //*************************************************************************** template typename etl::enable_if::value, const etl::iu16string&>::type @@ -104,7 +109,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::u16string_view //*************************************************************************** template typename etl::enable_if::value, const etl::iu16string&>::type diff --git a/include/etl/to_u32string.h b/include/etl/to_u32string.h index 36a7d805..f07451cd 100644 --- a/include/etl/to_u32string.h +++ b/include/etl/to_u32string.h @@ -43,6 +43,7 @@ namespace etl { //*************************************************************************** /// Default format spec. + /// !etl::iu32string && !etl::u32string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iu32string&>::type @@ -54,7 +55,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// !etl::iu32string && !etl::u32string_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iu32string&>::type @@ -65,6 +67,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::iu32string //*************************************************************************** template typename etl::enable_if::value, const etl::iu32string&>::type @@ -78,7 +81,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::iu32string //*************************************************************************** template typename etl::enable_if::value, const etl::iu32string&>::type @@ -91,6 +95,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::u32string_view //*************************************************************************** template typename etl::enable_if::value, const etl::iu32string&>::type @@ -104,7 +109,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::u32string_view //*************************************************************************** template typename etl::enable_if::value, const etl::iu32string&>::type diff --git a/include/etl/to_wstring.h b/include/etl/to_wstring.h index 4ce8e813..1612d02e 100644 --- a/include/etl/to_wstring.h +++ b/include/etl/to_wstring.h @@ -43,6 +43,7 @@ namespace etl { //*************************************************************************** /// Default format spec. + /// !etl::iwstring && !etl::wstring_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iwstring&>::type @@ -54,7 +55,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// !etl::iwstring && !etl::wstring_view //*************************************************************************** template typename etl::enable_if::value && !etl::is_same::value, const etl::iwstring&>::type @@ -65,6 +67,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::iwstring //*************************************************************************** template typename etl::enable_if::value, const etl::iwstring&>::type @@ -78,7 +81,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::iwstring //*************************************************************************** template typename etl::enable_if::value, const etl::iwstring&>::type @@ -91,6 +95,7 @@ namespace etl //*************************************************************************** /// Default format spec. + /// etl::wstring_view //*************************************************************************** template typename etl::enable_if::value, const etl::iwstring&>::type @@ -104,7 +109,8 @@ namespace etl } //*************************************************************************** - /// Supplied format spec.. + /// Supplied format spec. + /// etl::wstring_view //*************************************************************************** template typename etl::enable_if::value, const etl::iwstring&>::type diff --git a/include/etl/version.h b/include/etl/version.h index 3ff851c4..81379974 100644 --- a/include/etl/version.h +++ b/include/etl/version.h @@ -38,8 +38,8 @@ SOFTWARE. ///\ingroup utilities #define ETL_VERSION_MAJOR 18 -#define ETL_VERSION_MINOR 3 -#define ETL_VERSION_PATCH 4 +#define ETL_VERSION_MINOR 5 +#define ETL_VERSION_PATCH 0 #define ETL_VERSION ETL_STRINGIFY(ETL_VERSION_MAJOR) "." ETL_STRINGIFY(ETL_VERSION_MINOR) "." ETL_STRINGIFY(ETL_VERSION_PATCH) #define ETL_VERSION_W ETL_STRINGIFY(ETL_VERSION_MAJOR) L"." ETL_STRINGIFY(ETL_VERSION_MINOR) L"." ETL_STRINGIFY(ETL_VERSION_PATCH) #define ETL_VERSION_U16 ETL_STRINGIFY(ETL_VERSION_MAJOR) u"." ETL_STRINGIFY(ETL_VERSION_MINOR) u"." ETL_STRINGIFY(ETL_VERSION_PATCH) diff --git a/library.json b/library.json index 524a76a9..f1494e89 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Embedded Template Library", - "version": "18.4.0", + "version": "18.5.0", "authors": { "name": "John Wellbelove", "email": "john.wellbelove@etlcpp.com" diff --git a/library.properties b/library.properties index a3580b7c..1522a6f5 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Embedded Template Library -version=18.4.0 +version=18.5.0 author= John Wellbelove maintainer=John Wellbelove license=MIT diff --git a/support/Release notes.txt b/support/Release notes.txt index 7e7c253e..9ba7af3b 100644 --- a/support/Release notes.txt +++ b/support/Release notes.txt @@ -1,3 +1,17 @@ +=============================================================================== +18.5.0 +Added string streams +etl::string_stream +etl::wstring_stream +etl::u16string_stream +etl::u32string_stream + +Added string formatting to etl::to_string from +etl::string etl::string_view +etl::wstring etl::wstring_view +etl::u16string etl::u16string_view +etl::u32string etl::u32string_view + =============================================================================== 18.4.0 Refactored etl::error_handler to use etl::delegate style implementation.