From 6202d6b7d7e80bc2a22fad795b1ceb45e9b0ded1 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 4 Dec 2021 20:22:16 -0500 Subject: [PATCH] Remove references to DEAL_II_EXPLICIT_CONSTRUCTOR_BUG. This was removed in 252c891bb0d5402927177d9de12088c92d348808. --- include/deal.II/lac/block_vector.h | 6 ------ include/deal.II/lac/la_parallel_block_vector.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/include/deal.II/lac/block_vector.h b/include/deal.II/lac/block_vector.h index 557c4f950d..938e4787e9 100644 --- a/include/deal.II/lac/block_vector.h +++ b/include/deal.II/lac/block_vector.h @@ -124,12 +124,6 @@ public: * fail if there is no conversion path from OtherNumber to * Number. Note that you may lose accuracy when copying to a * BlockVector with data elements with less accuracy. - * - * Older versions of gcc did not honor the @p explicit keyword on template - * constructors. In such cases, it is easy to accidentally write code that - * can be very inefficient, since the compiler starts performing hidden - * conversions. To avoid this, this function is disabled if we have detected - * a broken compiler during configuration. */ template explicit BlockVector(const BlockVector &v); diff --git a/include/deal.II/lac/la_parallel_block_vector.h b/include/deal.II/lac/la_parallel_block_vector.h index cbb69e168f..13fe98bbbb 100644 --- a/include/deal.II/lac/la_parallel_block_vector.h +++ b/include/deal.II/lac/la_parallel_block_vector.h @@ -151,12 +151,6 @@ namespace LinearAlgebra * fail if there is no conversion path from OtherNumber to * Number. Note that you may lose accuracy when copying to a * BlockVector with data elements with less accuracy. - * - * Older versions of gcc did not honor the @p explicit keyword on - * template constructors. In such cases, it is easy to accidentally - * write code that can be very inefficient, since the compiler starts - * performing hidden conversions. To avoid this, this function is - * disabled if we have detected a broken compiler during configuration. */ template explicit BlockVector(const BlockVector &v); -- 2.39.5