From d2719cb63deb6aefcbe78f79f3c1e3e842d9786b Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 16 May 2019 23:39:23 +0100 Subject: [PATCH] Merge remote-tracking branch 'origin/feature/size_of' into development --- include/etl/type_traits.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/include/etl/type_traits.h b/include/etl/type_traits.h index f75fb0f1..e71bcdea 100644 --- a/include/etl/type_traits.h +++ b/include/etl/type_traits.h @@ -314,6 +314,13 @@ namespace etl template struct is_trivially_copy_assignable : etl::is_pod {}; #endif +#if ETL_CPP11_SUPPORTED + /// is_rvalue_reference + ///\ingroup type_traits + template struct is_rvalue_reference : etl::false_type {}; + template struct is_rvalue_reference : etl::true_type {}; +#endif + /// conditional ///\ingroup type_traits template struct conditional { typedef T type; }; @@ -485,14 +492,14 @@ namespace etl ///\ingroup types //*************************************************************************** template struct is_one_of { - static const bool value = + static const bool value = etl::is_same::value || etl::is_same::value || etl::is_same::value ||