Skip to content
Snippets Groups Projects
Commit 6bb1dae4 authored by Felix Gruber's avatar Felix Gruber Committed by Christoph Grüninger
Browse files

[cleanup] use true_type and false_type from std::

parent addf5bf7
No related branches found
No related tags found
No related merge requests found
......@@ -25,11 +25,11 @@ namespace Dune {
struct AlwaysVoid { typedef void type; };
template<class T, class = void>
struct IsVector : false_type {};
struct IsVector : std::false_type {};
template<class T>
struct IsVector<T, typename AlwaysVoid<typename T::field_type>::type>
: true_type {};
: std::true_type {};
/** @brief computes the dot product for fundamental data types according to Petsc's VectDot function: dot(a,b) := std::conj(a)*b
*
......
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