summaryrefslogtreecommitdiffstats
path: root/src/include/util/impl/type_remove.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/util/impl/type_remove.H')
-rw-r--r--src/include/util/impl/type_remove.H7
1 files changed, 7 insertions, 0 deletions
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 <stdint.h>
+
namespace std
{
template <typename T> struct remove_const { typedef T type; };
@@ -52,6 +54,11 @@ namespace std
template <typename T> struct remove_pointer<T* const volatile>
{ typedef T type; };
+ template<class T> struct remove_all_extents { typedef T type;};
+ template<class T> struct remove_all_extents<T[]>
+ { typedef typename remove_all_extents<T>::type type; };
+ template<class T, size_t N> struct remove_all_extents<T[N]>
+ { typedef typename remove_all_extents<T>::type type; };
}
#endif
OpenPOWER on IntegriCloud