[06/10] libstdc++: remove unused __is_void in cpp_type_traits.h
Commit Message
This patch removes unused __is_void defined in cpp_type_traits.h
libstdc++-v3/ChangeLog:
* include/bits/cpp_type_traits.h (__is_void): Remove unused __is_void.
Signed-off-by: Ken Matsui <kmatsui@cs.washington.edu>
---
libstdc++-v3/include/bits/cpp_type_traits.h | 15 ---------------
1 file changed, 15 deletions(-)
@@ -105,21 +105,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef __true_type __type;
};
- // Holds if the template-argument is a void type.
- template<typename _Tp>
- struct __is_void
- {
- enum { __value = 0 };
- typedef __false_type __type;
- };
-
- template<>
- struct __is_void<void>
- {
- enum { __value = 1 };
- typedef __true_type __type;
- };
-
//
// Integer types
//