]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove references to DEAL_II_EXPLICIT_CONSTRUCTOR_BUG. 13029/head
authorDavid Wells <drwells@email.unc.edu>
Sun, 5 Dec 2021 01:22:16 +0000 (20:22 -0500)
committerDavid Wells <drwells@email.unc.edu>
Sun, 5 Dec 2021 01:22:16 +0000 (20:22 -0500)
This was removed in 252c891bb0d5402927177d9de12088c92d348808.

include/deal.II/lac/block_vector.h
include/deal.II/lac/la_parallel_block_vector.h

index 557c4f950d8d1aecb653cb3bddd0ba06cfa18eb4..938e4787e963096c18873ee01cddb2283b2f3535 100644 (file)
@@ -124,12 +124,6 @@ public:
    * fail if there is no conversion path from <tt>OtherNumber</tt> to
    * <tt>Number</tt>. 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 <typename OtherNumber>
   explicit BlockVector(const BlockVector<OtherNumber> &v);
index cbb69e168f46786dbc0c1a9220cea0bb0affeb43..13fe98bbbb500a320771ffecbb6973fa8edaee5a 100644 (file)
@@ -151,12 +151,6 @@ namespace LinearAlgebra
        * fail if there is no conversion path from <tt>OtherNumber</tt> to
        * <tt>Number</tt>. 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 <typename OtherNumber>
       explicit BlockVector(const BlockVector<OtherNumber> &v);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.