| 1 | <html> |
|---|
| 2 | <head> |
|---|
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
|---|
| 4 | <title> |
|---|
| 5 | BoostBook element copy-assignment</title> |
|---|
| 6 | <link rel="stylesheet" href="../../boostbook.css" type="text/css"> |
|---|
| 7 | <meta name="generator" content="DocBook XSL Stylesheets V1.68.1"> |
|---|
| 8 | <link rel="start" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> |
|---|
| 9 | <link rel="up" href="../../reference.html" title="Reference"> |
|---|
| 10 | <link rel="prev" href="librarypurpose.html" title=" |
|---|
| 11 | BoostBook element librarypurpose"> |
|---|
| 12 | <link rel="next" href="run-fail-test.html" title=" |
|---|
| 13 | BoostBook element run-fail-test"> |
|---|
| 14 | </head> |
|---|
| 15 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
|---|
| 16 | <table cellpadding="2" width="100%"> |
|---|
| 17 | <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td> |
|---|
| 18 | <td align="center"><a href="../../../../index.htm">Home</a></td> |
|---|
| 19 | <td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td> |
|---|
| 20 | <td align="center"><a href="../../../../people/people.htm">People</a></td> |
|---|
| 21 | <td align="center"><a href="../../../../more/faq.htm">FAQ</a></td> |
|---|
| 22 | <td align="center"><a href="../../../../more/index.htm">More</a></td> |
|---|
| 23 | </table> |
|---|
| 24 | <hr> |
|---|
| 25 | <div class="spirit-nav"> |
|---|
| 26 | <a accesskey="p" href="librarypurpose.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="run-fail-test.html"><img src="../../images/next.png" alt="Next"></a> |
|---|
| 27 | </div> |
|---|
| 28 | <div class="refentry" lang="en"> |
|---|
| 29 | <a name="boostbook.dtd.copy-assignment"></a><div class="titlepage"></div> |
|---|
| 30 | <div class="refnamediv"> |
|---|
| 31 | <h2><span class="refentrytitle"> |
|---|
| 32 | BoostBook element <code class="sgmltag-element">copy-assignment</code></span></h2> |
|---|
| 33 | <p>copy-assignment — Declares a copy-assignment operator</p> |
|---|
| 34 | </div> |
|---|
| 35 | <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2> |
|---|
| 36 | <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv">copy-assignment ::= |
|---|
| 37 | (<a href="template.html" title=" |
|---|
| 38 | BoostBook element template">template</a>?, <a href="type.html" title=" |
|---|
| 39 | BoostBook element type">type</a>?, <a href="parameter.html" title=" |
|---|
| 40 | BoostBook element parameter">parameter</a>*, <a href="purpose.html" title=" |
|---|
| 41 | BoostBook element purpose">purpose</a>?, <a href="description.html" title=" |
|---|
| 42 | BoostBook element description">description</a>?, <a href="requires.html" title=" |
|---|
| 43 | BoostBook element requires">requires</a>?, <a href="effects.html" title=" |
|---|
| 44 | BoostBook element effects">effects</a>?, <a href="postconditions.html" title=" |
|---|
| 45 | BoostBook element postconditions">postconditions</a>?, <a href="returns.html" title=" |
|---|
| 46 | BoostBook element returns">returns</a>?, <a href="throws.html" title=" |
|---|
| 47 | BoostBook element throws">throws</a>?, <a href="complexity.html" title=" |
|---|
| 48 | BoostBook element complexity">complexity</a>?, <a href="notes.html" title=" |
|---|
| 49 | BoostBook element notes">notes</a>?, <a href="rationale.html" title=" |
|---|
| 50 | BoostBook element rationale">rationale</a>?) |
|---|
| 51 | </div> |
|---|
| 52 | <div class="refsection" lang="en"> |
|---|
| 53 | <a name="id2081432"></a><h2>Description</h2> |
|---|
| 54 | <p>The return type of the copy-assignment operator does not need |
|---|
| 55 | to be specified. If left unspecified, it will default to an |
|---|
| 56 | unqualified reference to the enclosing class type.</p> |
|---|
| 57 | |
|---|
| 58 | <p>General documentation on functions in BoostBook is provided in |
|---|
| 59 | the <a href="function.html" title=" |
|---|
| 60 | BoostBook element function"><code class="sgmltag-element">function</code></a> |
|---|
| 61 | element documentation.</p> |
|---|
| 62 | </div> |
|---|
| 63 | <div class="refsection" lang="en"> |
|---|
| 64 | <a name="id2081457"></a> |
|---|
| 65 | <h2>Attributes</h2> |
|---|
| 66 | <div class="informaltable"><table class="table"> |
|---|
| 67 | <colgroup> |
|---|
| 68 | <col> |
|---|
| 69 | <col> |
|---|
| 70 | <col> |
|---|
| 71 | <col> |
|---|
| 72 | </colgroup> |
|---|
| 73 | <thead><tr> |
|---|
| 74 | <th>Name</th> |
|---|
| 75 | <th>Type</th> |
|---|
| 76 | <th>Value</th> |
|---|
| 77 | <th>Purpose</th> |
|---|
| 78 | </tr></thead> |
|---|
| 79 | <tbody> |
|---|
| 80 | <tr> |
|---|
| 81 | <td>last-revision</td> |
|---|
| 82 | <td>#IMPLIED</td> |
|---|
| 83 | <td>CDATA</td> |
|---|
| 84 | <td>Set to $Date: 2006/11/03 19:39:44 $ to keep "last revised" information in sync with CVS changes</td> |
|---|
| 85 | </tr> |
|---|
| 86 | <tr> |
|---|
| 87 | <td>cv</td> |
|---|
| 88 | <td>#IMPLIED</td> |
|---|
| 89 | <td>CDATA</td> |
|---|
| 90 | <td>cv-qualifiers for this method, e.g., const volatile</td> |
|---|
| 91 | </tr> |
|---|
| 92 | <tr> |
|---|
| 93 | <td>specifiers</td> |
|---|
| 94 | <td>#IMPLIED</td> |
|---|
| 95 | <td>CDATA</td> |
|---|
| 96 | <td>The specifiers for this function, e.g., inline, static, etc.</td> |
|---|
| 97 | </tr> |
|---|
| 98 | <tr> |
|---|
| 99 | <td>id</td> |
|---|
| 100 | <td>#IMPLIED</td> |
|---|
| 101 | <td>CDATA</td> |
|---|
| 102 | <td>A global identifier for this element</td> |
|---|
| 103 | </tr> |
|---|
| 104 | <tr> |
|---|
| 105 | <td>xml:base</td> |
|---|
| 106 | <td>#IMPLIED</td> |
|---|
| 107 | <td>CDATA</td> |
|---|
| 108 | <td>Implementation detail used by XIncludes</td> |
|---|
| 109 | </tr> |
|---|
| 110 | </tbody> |
|---|
| 111 | </table></div> |
|---|
| 112 | </div> |
|---|
| 113 | </div> |
|---|
| 114 | <table width="100%"><tr> |
|---|
| 115 | <td align="left"></td> |
|---|
| 116 | <td align="right"><small>Copyright © 2003-2005 Douglas Gregor</small></td> |
|---|
| 117 | </tr></table> |
|---|
| 118 | <hr> |
|---|
| 119 | <div class="spirit-nav"> |
|---|
| 120 | <a accesskey="p" href="librarypurpose.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../../reference.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="run-fail-test.html"><img src="../../images/next.png" alt="Next"></a> |
|---|
| 121 | </div> |
|---|
| 122 | </body> |
|---|
| 123 | </html> |
|---|