Skip to content
Snippets Groups Projects
Commit 0f7655c6 authored by Markus Blatt's avatar Markus Blatt
Browse files

acknowledge presence of type_traits header that is not under tr1.

[[Imported from SVN: r5005]]
parent b06152ea
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
#ifdef HAVE_TR1_TYPE_TRAITS
#include <tr1/type_traits>
#elif defined HAVE_TYPE_TRAITS
#include <type_traits>
#endif
namespace Dune
......@@ -157,6 +159,8 @@ namespace Dune
#ifdef HAVE_TR1_TYPE_TRAITS
using std::tr1::remove_const;
#elif defined HAVE_TYPE_TRAITS
using std::remove_const;
#else
/**
......@@ -278,6 +282,8 @@ namespace Dune
#ifdef HAVE_TR1_TYPE_TRAITS
using std::tr1::is_same;
#elif defined HAVE_TYPE_TRAITS
using std::is_same;
#else
/**
* @brief Compile time test for testing whether
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment