From: Luca Heltai Date: Fri, 27 Oct 2017 13:51:17 +0000 (+0200) Subject: Remove decltype(auto) (cxx14) X-Git-Tag: v9.0.0-rc1~848^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feed7ba17bea202163a5d888026add386b1692f6;p=dealii.git Remove decltype(auto) (cxx14) --- diff --git a/include/deal.II/base/patterns.h b/include/deal.II/base/patterns.h index 8d12d0b5f0..5e5de71143 100644 --- a/include/deal.II/base/patterns.h +++ b/include/deal.II/base/patterns.h @@ -1925,9 +1925,10 @@ namespace Patterns template static - decltype(auto) to_string_internal_1(const T &t, - const Patterns::Tuple &pattern, - std_cxx14::index_sequence) + std::array::value> + to_string_internal_1(const T &t, + const Patterns::Tuple &pattern, + std_cxx14::index_sequence) { std::array::value> a = {{ @@ -1939,8 +1940,9 @@ namespace Patterns } static - decltype(auto) to_string_internal_2(const T &t, - const Patterns::Tuple &pattern) + std::array::value> + to_string_internal_2(const T &t, + const Patterns::Tuple &pattern) { return Convert::to_string_internal_1(t, pattern, std_cxx14::make_index_sequence::value> {});