Commit a698f116 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

changed constexpr bool to using template

parent 6af65894
......@@ -149,7 +149,7 @@ namespace AMDiS
constexpr bool HasIndexAccess = models<Dune::Functions::Concept::HasIndexAccess(Range, Index)>;
template <class Range, class Index>
constexpr bool HasIndexAccess_t = models_t<Dune::Functions::Concept::HasIndexAccess(Range, Index)>;
using HasIndexAccess_t = models_t<Dune::Functions::Concept::HasIndexAccess(Range, Index)>;
/// A Dune::Functions::BasisNode type
......@@ -157,7 +157,7 @@ namespace AMDiS
constexpr bool BasisNode = models<Dune::Functions::Concept::BasisNode(N)>;
template <class N>
constexpr bool BasisNode_t = models_t<Dune::Functions::Concept::BasisNode(N)>;
using BasisNode_t = models_t<Dune::Functions::Concept::BasisNode(N)>;
/// A Dune::Functions::BasisTree type
......@@ -165,7 +165,7 @@ namespace AMDiS
constexpr bool BasisTree = models<Dune::Functions::Concept::BasisTree<GV>(Tree)>;
template <class Tree, class GV>
constexpr bool BasisTree_t = models_t<Dune::Functions::Concept::BasisTree<GV>(Tree)>;
using BasisTree_t = models_t<Dune::Functions::Concept::BasisTree<GV>(Tree)>;
/// A Dune::Functions::LocalView type
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment