]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid declaring special member functions 8051/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 9 May 2019 12:47:24 +0000 (08:47 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 9 May 2019 16:14:51 +0000 (12:14 -0400)
include/deal.II/base/thread_management.h
include/deal.II/lac/sparse_matrix.h
include/deal.II/particles/particle_iterator.h

index f06cd09b5c7ec79d20bc7e28490fab1b147ead28..7e7294b571b5a95336f77babdedc216bf83ca44b 100644 (file)
@@ -1511,16 +1511,6 @@ namespace Threads
     }
 
 
-    /**
-     * Copy constructor.
-     *
-     * @post Using this constructor automatically makes the task object
-     * joinable().
-     */
-    Task(const Task<RT> &t)
-      : task_descriptor(t.task_descriptor)
-    {}
-
 
     /**
      * Default constructor. You can't do much with a task object constructed
@@ -1533,16 +1523,6 @@ namespace Threads
     Task() = default;
 
 
-    /**
-     * Copy assignment operator.
-     */
-    const Task &
-    operator=(const Task<RT> &t)
-    {
-      task_descriptor = t.task_descriptor;
-      return *this;
-    }
-
 
     /**
      * Join the task represented by this object, i.e. wait for it to finish.
index 853700501b63f3ce3477fe679e7354c6cf76136a..1452ad2d39aeed6cb9afc439e4cea3797d987cab 100644 (file)
@@ -379,7 +379,7 @@ namespace SparseMatrixIterators
     Iterator(const SparseMatrixIterators::Iterator<number, false> &i);
 
     /**
-     * Copy assignment operator.
+     * Copy assignment operator from a non-const iterator to a const iterator.
      */
     const Iterator<number, Constness> &
     operator=(const SparseMatrixIterators::Iterator<number, false> &i);
index b2b340acc5b7229f47f9787a6bee8fdec04ff180..34bbfe5f2b4749fe864e42c4243c2e7e80488568 100644 (file)
@@ -62,12 +62,6 @@ namespace Particles
      */
     ParticleAccessor<dim, spacedim> &operator*();
 
-    /**
-     * Assignment operator.
-     */
-    ParticleIterator &
-    operator=(const ParticleIterator &) = default;
-
     /**
      * Dereferencing operator, returns a pointer of the particle pointed to.
      * Usage is thus like <tt>i->get_id ();</tt>

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.