From: Matthias Maier Date: Wed, 27 May 2015 20:07:23 +0000 (+0200) Subject: Reword a description for a workaround X-Git-Tag: v8.3.0-rc1~150^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2f1359113c9d04b44dfb22caeaef10e83a9af30;p=dealii.git Reword a description for a workaround --- 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,