From 446067ed2c58e3cf45ea9448bbbc6ed4c21b562c Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sun, 14 May 2017 13:24:18 +0200
Subject: [PATCH] Remove type traits after migration to dune-common

Naturally, if anyone used Dune::Solvers::IsNumber, that would now be
Dune::IsNumber. But I believe nobody was using this anyway.
---
 dune/solvers/common/CMakeLists.txt |  1 -
 dune/solvers/common/typetraits.hh  | 18 ------------------
 2 files changed, 19 deletions(-)
 delete mode 100644 dune/solvers/common/typetraits.hh

diff --git a/dune/solvers/common/CMakeLists.txt b/dune/solvers/common/CMakeLists.txt
index 3fe13a08..4af29f62 100644
--- a/dune/solvers/common/CMakeLists.txt
+++ b/dune/solvers/common/CMakeLists.txt
@@ -13,5 +13,4 @@ install(FILES
     resize.hh
     staticmatrixtools.hh
     tuplevector.hh
-    typetraits.hh
     DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/solvers/common)
diff --git a/dune/solvers/common/typetraits.hh b/dune/solvers/common/typetraits.hh
deleted file mode 100644
index c1d77a29..00000000
--- a/dune/solvers/common/typetraits.hh
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef DUNE_SOLVERS_COMMON_TYPETRAITS_HH
-#define DUNE_SOLVERS_COMMON_TYPETRAITS_HH
-
-#include <type_traits>
-
-namespace Dune {
-namespace Solvers {
-  template <typename T>
-  struct IsNumber
-      : public std::integral_constant<bool, std::is_arithmetic<T>::value> {};
-
-  template <typename T>
-  struct IsNumber<std::complex<T>>
-      : public std::integral_constant<bool, IsNumber<T>::value> {};
-}
-}
-
-#endif
-- 
GitLab