From f2f1359113c9d04b44dfb22caeaef10e83a9af30 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 27 May 2015 22:07:23 +0200 Subject: [PATCH] Reword a description for a workaround --- include/deal.II/lac/block_linear_operator.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/include/deal.II/lac/block_linear_operator.h b/include/deal.II/lac/block_linear_operator.h index 20f6c073d3..50872a4a7f 100644 --- a/include/deal.II/lac/block_linear_operator.h +++ b/include/deal.II/lac/block_linear_operator.h @@ -339,8 +339,12 @@ block_diagonal_operator(const LinearOperator, typename Domain = Range, @@ -467,8 +471,12 @@ lower_triangular_operator(const BlockMatrix &block_matrix) * @ingroup LAOperators */ -// workaround for a bug in <=gcc-4.7 that does not like partial template -// default values in combination with local lambda expressions [1] +// This is a workaround for a bug in <=gcc-4.7 that does not like partial +// template default values in function definitions in combination with +// local lambda expressions [1] in the function body. As a workaround +// declare the function with all default types and parameters first such +// that the function definition is without default types and parameters. +// // [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53624 template , typename Domain = Range, -- 2.39.5