Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference

This commit is contained in:
John Wellbelove 2020-02-26 19:47:36 +01:00
parent 6e3069a59e
commit f20969ea40
5 changed files with 9 additions and 3 deletions

View File

@ -401,6 +401,7 @@ namespace etl
inline constexpr bool is_lvalue_reference_v = etl::is_lvalue_reference<T>::value;
#endif
#if ETL_CPP11_SUPPORTED
//***************************************************************************
/// is_rvalue_reference
template<typename T> struct is_rvalue_reference_helper : false_type {};
@ -410,6 +411,7 @@ namespace etl
#if ETL_CPP17_SUPPORTED
template <typename T>
inline constexpr bool is_rvalue_reference_v = etl::is_rvalue_reference<T>::value;
#endif
#endif
//***************************************************************************

View File

@ -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)

View File

@ -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"

View File

@ -1,5 +1,5 @@
name=Embedded Template Library
version=16.4.3
version=16.4.4
author= John Wellbelove <john.wellbelove@etlcpp.com>
maintainer=John Wellbelove <john.wellbelove@etlcpp.com>
license=MIT

View File

@ -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