]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve some method descriptions.
authorDavid Wells <wellsd2@rpi.edu>
Fri, 15 Dec 2017 18:05:49 +0000 (13:05 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Fri, 15 Dec 2017 18:05:49 +0000 (13:05 -0500)
include/deal.II/lac/vector_memory.h

index 1afe9e3564d2694811e49b811ecec853ad32469e..2784ecb4dbf5e5a34feb21805f8f47f6046b560a 100644 (file)
@@ -197,16 +197,16 @@ public:
     Pointer() = default;
 
     /**
-     * Move constructor. This operator steals the pointer to the vector
-     * represented by this object from the one give as argument.
+     * Move constructor: this creates a new Pointer by stealing the internal
+     * data owned by @p p.
      */
-    Pointer(Pointer &&) = default;
+    Pointer(Pointer &&p) = default;
 
     /**
-     * Move operator. This operator steals the pointer to the vector
-     * represented by this object from the one give as argument.
+     * Move operator: this releases the vector owned by the current Pointer
+     * and then steals the internal data owned by @p p.
      */
-    Pointer &operator = (Pointer &&) = default;
+    Pointer &operator = (Pointer &&p) = default;
 
     /**
      * Constructor. This constructor automatically allocates a vector from

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.