From 9e1906f95ba3da384eff12814f53ade26528cb0b Mon Sep 17 00:00:00 2001 From: Andre Marin Date: Fri, 1 Mar 2019 00:28:51 -0600 Subject: Add std::remove_all_extends to HB STL library Change-Id: I6fa0e9930a9d8340416ab3c775238f60931882d8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72688 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes Reviewed-by: Chen Du Reviewed-by: Daniel M. Crowell --- src/include/util/impl/type_remove.H | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/include/util') diff --git a/src/include/util/impl/type_remove.H b/src/include/util/impl/type_remove.H index 4b33f2e36..ba6659a77 100644 --- a/src/include/util/impl/type_remove.H +++ b/src/include/util/impl/type_remove.H @@ -25,6 +25,8 @@ #ifndef __UTIL_IMPL_TYPE_REMOVE_H #define __UTIL_IMPL_TYPE_REMOVE_H +#include + namespace std { template struct remove_const { typedef T type; }; @@ -52,6 +54,11 @@ namespace std template struct remove_pointer { typedef T type; }; + template struct remove_all_extents { typedef T type;}; + template struct remove_all_extents + { typedef typename remove_all_extents::type type; }; + template struct remove_all_extents + { typedef typename remove_all_extents::type type; }; } #endif -- cgit v1.2.3