From 140c69e6eaa862ad8ad392cccd230b520b3bfe4b Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 18 Jul 2021 20:22:12 +0100 Subject: [PATCH] Updated version numbers --- include/etl/version.h | 2 +- library.json | 2 +- library.properties | 2 +- meson.build | 2 +- support/Release notes.txt | 11 +++++++++++ test/test_delegate.cpp | 6 +++--- 6 files changed, 18 insertions(+), 7 deletions(-) diff --git a/include/etl/version.h b/include/etl/version.h index a763d4fc..4d30e25f 100644 --- a/include/etl/version.h +++ b/include/etl/version.h @@ -38,7 +38,7 @@ SOFTWARE. ///\ingroup utilities #define ETL_VERSION_MAJOR 20 -#define ETL_VERSION_MINOR 12 +#define ETL_VERSION_MINOR 13 #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) diff --git a/library.json b/library.json index 6a2af629..d18c46c6 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "ETL Embedded Template Library", - "version": "20.12.0", + "version": "20.13.0", "author s": { "name": "John Wellbelove", "email": "john.wellbelove@etlcpp.com" diff --git a/library.properties b/library.properties index aa7cb1c7..37a22174 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Embedded Template Library ETL -version=20.12.0 +version=20.13.0 author= John Wellbelove maintainer=John Wellbelove license=MIT diff --git a/meson.build b/meson.build index aa473f82..095f2da6 100644 --- a/meson.build +++ b/meson.build @@ -8,7 +8,7 @@ project('PROJECT_NAME', 'cpp_std=c++17', 'build.cpp_std=c++17', ], meson_version: '>=0.54.0', - version: '20.12.0' + version: '20.13.0' ) ###################### diff --git a/support/Release notes.txt b/support/Release notes.txt index ab82c5b0..961f775c 100644 --- a/support/Release notes.txt +++ b/support/Release notes.txt @@ -1,3 +1,14 @@ +=============================================================================== +20.13.0 +Added a vaiadic version of etl::variant. Usable for C++11 and up. +Added etl::overload pattern class. Groups lambdas into a functor class. +Added etl::is_assignable, etl::is_lvalue_assignable, etl::is_constructible, etl::is_copy_constructible +and etl::is_move_constructible to type_traits.h. Uses STL, compiler built-ins or user defined specialisations, dependent on settings. +Added etl::conditional_t to type_traits.h +Added etl::conjunction and etl::disjunction to type_traits.h +Added etl::integer_sequence to utility.h +Fixed missing etl::alignment_of specialisation for const void. + =============================================================================== 20.12.0 Added the option to derived etl::message<> from a parent class other than etl::imessage. diff --git a/test/test_delegate.cpp b/test/test_delegate.cpp index cd8f4cd9..9d2858ba 100644 --- a/test/test_delegate.cpp +++ b/test/test_delegate.cpp @@ -133,13 +133,13 @@ namespace void member_reference(const Data& data, int j) { function_called = true; - parameter_correct = (data.d == VALUE1) && (j = VALUE2); + parameter_correct = (data.d == VALUE1) && (j == VALUE2); } void member_reference_const(const Data& data, int j) const { function_called = true; - parameter_correct = (data.d == VALUE1) && (j = VALUE2); + parameter_correct = (data.d == VALUE1) && (j == VALUE2); } //******************************************* @@ -155,7 +155,7 @@ namespace static void member_static(const Data& data, int j) { function_called = true; - parameter_correct = (data.d == VALUE1) && (j = VALUE2); + parameter_correct = (data.d == VALUE1) && (j == VALUE2); } //*******************************************