| 1 | <?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 | <head> |
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 6 | <title>operator=</title> |
| 7 | <link rel="stylesheet" href="apiReference.css" type="text/css" /> |
| 8 | <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" /> |
| 9 | <link rel="start" href="index.html" title="Berkeley DB C++ Standard Template Library API Reference" /> |
| 10 | <link rel="up" href="ElementRef.html" title="Chapter 24. ElementRef" /> |
| 11 | <link rel="prev" href="stlElementRefElementRef.html" title="ElementRef" /> |
| 12 | <link rel="next" href="stlElementRef_DB_STL_StoreElement.html" title="_DB_STL_StoreElement" /> |
| 13 | </head> |
| 14 | <body> |
| 15 | <div xmlns="" class="navheader"> |
| 16 | <div class="libver"> |
| 17 | <p>Library Version 11.2.5.3</p> |
| 18 | </div> |
| 19 | <table width="100%" summary="Navigation header"> |
| 20 | <tr> |
| 21 | <th colspan="3" align="center">operator=</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="stlElementRefElementRef.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 24. |
| 26 | ElementRef </th> |
| 27 | <td width="20%" align="right"> <a accesskey="n" href="stlElementRef_DB_STL_StoreElement.html">Next</a></td> |
| 28 | </tr> |
| 29 | </table> |
| 30 | <hr /> |
| 31 | </div> |
| 32 | <div class="sect1" lang="en" xml:lang="en"> |
| 33 | <div class="titlepage"> |
| 34 | <div> |
| 35 | <div> |
| 36 | <h2 class="title" style="clear: both"><a id="stlElementRefoperator_assign"></a>operator=</h2> |
| 37 | </div> |
| 38 | </div> |
| 39 | </div> |
| 40 | <div class="sect2" lang="en" xml:lang="en"> |
| 41 | <div class="titlepage"> |
| 42 | <div> |
| 43 | <div> |
| 44 | <h3 class="title"><a id="stlElementRefoperator_assign_details"></a>Function Details</h3> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |
| 48 | <pre class="programlisting"> |
| 49 | const ddt& operator=(const ddt &dt2) |
| 50 | </pre> |
| 51 | <p>Assignment Operator. </p> |
| 52 | <div class="sect3" lang="en" xml:lang="en"> |
| 53 | <div class="titlepage"> |
| 54 | <div> |
| 55 | <div> |
| 56 | <h4 class="title"><a id="idp51450408"></a>Parameters</h4> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <div class="sect4" lang="en" xml:lang="en"> |
| 61 | <div class="titlepage"> |
| 62 | <div> |
| 63 | <div> |
| 64 | <h5 class="title"><a id="idp51575072"></a>dt2</h5> |
| 65 | </div> |
| 66 | </div> |
| 67 | </div> |
| 68 | <p>The data value to assign with. </p> |
| 69 | </div> |
| 70 | </div> |
| 71 | <div class="sect3" lang="en" xml:lang="en"> |
| 72 | <div class="titlepage"> |
| 73 | <div> |
| 74 | <div> |
| 75 | <h4 class="title"><a id="idp51573440"></a>Return Value</h4> |
| 76 | </div> |
| 77 | </div> |
| 78 | </div> |
| 79 | <p>The object dt2's reference. </p> |
| 80 | </div> |
| 81 | <pre class="programlisting"> |
| 82 | const self& operator=(const self &me) |
| 83 | </pre> |
| 84 | <p>Assignment Operator. </p> |
| 85 | <div class="sect3" lang="en" xml:lang="en"> |
| 86 | <div class="titlepage"> |
| 87 | <div> |
| 88 | <div> |
| 89 | <h4 class="title"><a id="idp51577080"></a>Parameters</h4> |
| 90 | </div> |
| 91 | </div> |
| 92 | </div> |
| 93 | <div class="sect4" lang="en" xml:lang="en"> |
| 94 | <div class="titlepage"> |
| 95 | <div> |
| 96 | <div> |
| 97 | <h5 class="title"><a id="idp51577272"></a>me</h5> |
| 98 | </div> |
| 99 | </div> |
| 100 | </div> |
| 101 | <p>The object to assign with. </p> |
| 102 | </div> |
| 103 | </div> |
| 104 | <div class="sect3" lang="en" xml:lang="en"> |
| 105 | <div class="titlepage"> |
| 106 | <div> |
| 107 | <div> |
| 108 | <h4 class="title"><a id="idp51534856"></a>Return Value</h4> |
| 109 | </div> |
| 110 | </div> |
| 111 | </div> |
| 112 | <p>The object me's reference. </p> |
| 113 | </div> |
| 114 | </div> |
| 115 | <div class="sect2" lang="en" xml:lang="en"> |
| 116 | <div class="titlepage"> |
| 117 | <div> |
| 118 | <div> |
| 119 | <h3 class="title"><a id="idp51555608"></a>Group: Assignment operators.</h3> |
| 120 | </div> |
| 121 | </div> |
| 122 | </div> |
| 123 | <p>The assignment operators are used to store right-values into the wrapped object, and also to store values into an underlying container. </p> |
| 124 | </div> |
| 125 | <div class="sect2" lang="en" xml:lang="en"> |
| 126 | <div class="titlepage"> |
| 127 | <div> |
| 128 | <div> |
| 129 | <h3 class="title"><a id="idp51572680"></a>Class</h3> |
| 130 | </div> |
| 131 | </div> |
| 132 | </div> |
| 133 | <p> |
| 134 | <a class="link" href="ElementRef.html" title="Chapter 24. ElementRef">ElementRef</a> |
| 135 | </p> |
| 136 | </div> |
| 137 | </div> |
| 138 | <div class="navfooter"> |
| 139 | <hr /> |
| 140 | <table width="100%" summary="Navigation footer"> |
| 141 | <tr> |
| 142 | <td width="40%" align="left"><a accesskey="p" href="stlElementRefElementRef.html">Prev</a> </td> |
| 143 | <td width="20%" align="center"> |
| 144 | <a accesskey="u" href="ElementRef.html">Up</a> |
| 145 | </td> |
| 146 | <td width="40%" align="right"> <a accesskey="n" href="stlElementRef_DB_STL_StoreElement.html">Next</a></td> |
| 147 | </tr> |
| 148 | <tr> |
| 149 | <td width="40%" align="left" valign="top">ElementRef </td> |
| 150 | <td width="20%" align="center"> |
| 151 | <a accesskey="h" href="index.html">Home</a> |
| 152 | </td> |
| 153 | <td width="40%" align="right" valign="top"> _DB_STL_StoreElement</td> |
| 154 | </tr> |
| 155 | </table> |
| 156 | </div> |
| 157 | </body> |
| 158 | </html> |