From a57fcfc787a5373c8901799e3e8da3bbcc323822 Mon Sep 17 00:00:00 2001 From: Kilian Weishaupt <kilian.weishaupt@iws.uni-stuttgart.de> Date: Tue, 14 Aug 2018 17:58:49 +0200 Subject: [PATCH] [md][traits] Add alias to create tuple from indexed type --- dumux/multidomain/traits.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dumux/multidomain/traits.hh b/dumux/multidomain/traits.hh index 834679cca0..f8b1770c71 100644 --- a/dumux/multidomain/traits.hh +++ b/dumux/multidomain/traits.hh @@ -170,6 +170,10 @@ public: //! the tuple of grid variables using GridVariablesTuple = typename makeFromIndexedType<std::tuple, SubDomainGridVariables, Indices>::type; + + //! convenience alias to create tuple from type + template<template<std::size_t> class T> + using MakeTuple = typename makeFromIndexedType<std::tuple, T, Indices>::type; }; } //end namespace Dumux -- GitLab