From 794b44df7f129b1a674f8ecd5c5be50f54906429 Mon Sep 17 00:00:00 2001 From: Felix Schindler <felix.schindler@wwu.de> Date: Wed, 25 Nov 2020 12:22:23 +0100 Subject: [PATCH] [common.tuple] make specialization a struct --- dune/xt/common/tuple.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dune/xt/common/tuple.hh b/dune/xt/common/tuple.hh index fc7d0b03a..47d28e9ae 100644 --- a/dune/xt/common/tuple.hh +++ b/dune/xt/common/tuple.hh @@ -469,7 +469,7 @@ using tuple_cat_t = decltype(std::tuple_cat(std::declval<input_t>()...)); namespace std { //! specialization for our custom tuple tuple_size can be use on it template <class... Types> -class tuple_size<Dune::XT::Common::template_tuple<Types...>> +struct tuple_size<Dune::XT::Common::template_tuple<Types...>> : public std::integral_constant<std::size_t, sizeof...(Types)> {}; -- GitLab