[gtkmm-documentation] Move the description of _CUSTOM_MOVE_OPERATIONS



commit a67678e43233f72b62fc6515b6777c3915ebfa73
Author: Kjell Ahlstedt <kjell ahlstedt bredband net>
Date:   Thu Jun 2 13:14:54 2016 +0200

    Move the description of _CUSTOM_MOVE_OPERATIONS
    
    Move the description of this gmmproc macro to the "Macros that suppress
    generation of some code" section, and make it similar to the other
    descriptions there.

 docs/tutorial/C/index-in.docbook |   45 ++++++++++++++++++-------------------
 1 files changed, 22 insertions(+), 23 deletions(-)
---
diff --git a/docs/tutorial/C/index-in.docbook b/docs/tutorial/C/index-in.docbook
index e346eb6..a9a0a66 100644
--- a/docs/tutorial/C/index-in.docbook
+++ b/docs/tutorial/C/index-in.docbook
@@ -9484,6 +9484,28 @@ wrapped C object in <function>_CLASS_GOBJECT</function>, <function>_CLASS_GTKOBJ
 </para>
 </sect3>
 
+<sect3 id="gmmproc-custom-move-operations">
+<title>_CUSTOM_MOVE_OPERATIONS</title>
+<para>Suppresses declaration and definition of move constructor and move
+assignment operator in <function>_CLASS_GOBJECT</function>.
+</para>
+<para>For example:
+<programlisting>
+class Derived : public Glib::Object
+{
+  _CLASS_GOBJECT(Derived, GDerived, G_DERIVED, Glib::Object, GObject)
+
+  _CUSTOM_MOVE_OPERATIONS
+
+public:
+  Derived(Derived&amp;&amp; src) noexcept;
+  Derived&amp; operator=(Derived&amp;&amp; src) noexcept;
+  // ...
+};
+</programlisting>
+</para>
+</sect3>
+
 <sect3 id="gmmproc-custom-wrap-new">
 <title>_CUSTOM_WRAP_NEW</title>
 <para>Suppresses definition of <function>Glib::wrap_new()</function> function in
@@ -10142,29 +10164,6 @@ _MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)
   </para>
 </sect3>
 
-<sect3 id="gmmproc-custom-move-operations">
-  <title>_CUSTOM_MOVE_OPERATIONS</title>
-  <para>
-    Use this macro if move constructor and move assignment operator must be hand-coded.
-  </para>
-  <para><function>_CUSTOM_MOVE_OPERATIONS</function></para>
-  <para>For example:
-<programlisting>
-class Derived : public Glib::Object
-{
-  _CLASS_GOBJECT(Derived, GDerived, G_DERIVED, Glib::Object, GObject)
-
-  _CUSTOM_MOVE_OPERATIONS
-
-public:
-  Derived(Derived&amp;&amp; src) noexcept;
-  Derived&amp; operator=(Derived&amp;&amp; src) noexcept;
-  // ...
-};
-</programlisting>
-  </para>
-</sect3>
-
 </sect2>
 
 <sect2 id="gmmproc-parameter-processing">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]