From f20969ea401c44bc201f3ad1c242ff1991649bd4 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 26 Feb 2020 19:47:36 +0100 Subject: [PATCH] Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference --- include/etl/type_traits.h | 2 ++ include/etl/version.h | 2 +- library.json | 2 +- library.properties | 2 +- support/Release notes.txt | 4 ++++ 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/etl/type_traits.h b/include/etl/type_traits.h index 0fbf950a..c954f67b 100644 --- a/include/etl/type_traits.h +++ b/include/etl/type_traits.h @@ -401,6 +401,7 @@ namespace etl inline constexpr bool is_lvalue_reference_v = etl::is_lvalue_reference::value; #endif +#if ETL_CPP11_SUPPORTED //*************************************************************************** /// is_rvalue_reference template struct is_rvalue_reference_helper : false_type {}; @@ -410,6 +411,7 @@ namespace etl #if ETL_CPP17_SUPPORTED template inline constexpr bool is_rvalue_reference_v = etl::is_rvalue_reference::value; +#endif #endif //*************************************************************************** diff --git a/include/etl/version.h b/include/etl/version.h index c9eed941..0a387f50 100644 --- a/include/etl/version.h +++ b/include/etl/version.h @@ -39,7 +39,7 @@ SOFTWARE. #define ETL_VERSION_MAJOR 16 #define ETL_VERSION_MINOR 4 -#define ETL_VERSION_PATCH 3 +#define ETL_VERSION_PATCH 4 #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 a498996b..aba81f90 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "Embedded Template Library", - "version": "16.4.3", + "version": "16.4.4", "authors": { "name": "John Wellbelove", "email": "john.wellbelove@etlcpp.com" diff --git a/library.properties b/library.properties index bcf13ffd..549c4c00 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Embedded Template Library -version=16.4.3 +version=16.4.4 author= John Wellbelove maintainer=John Wellbelove license=MIT diff --git a/support/Release notes.txt b/support/Release notes.txt index a59f8d81..efd28a9d 100644 --- a/support/Release notes.txt +++ b/support/Release notes.txt @@ -1,3 +1,7 @@ +=============================================================================== +16.4.4 +Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference + =============================================================================== 16.4.3 Rearranged where etl::swap is defined to fix issues with certain compilers