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 class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center"> 19operator= 20</th> 21 </tr> 22 <tr> 23 <td width="20%" align="left"><a accesskey="p" href="stlElementRefElementRef.html">Prev</a>��</td> 24 <th width="60%" align="center">Chapter��24.�� 25 ElementRef </th> 26 <td width="20%" align="right">��<a accesskey="n" href="stlElementRef_DB_STL_StoreElement.html">Next</a></td> 27 </tr> 28 </table> 29 <hr /> 30 </div> 31 <div class="sect1" lang="en" xml:lang="en"> 32 <div class="titlepage"> 33 <div> 34 <div> 35 <h2 class="title" style="clear: both"><a id="stlElementRefoperator_assign"></a> 36operator= 37</h2> 38 </div> 39 </div> 40 </div> 41 <div class="sect2" lang="en" xml:lang="en"> 42 <div class="titlepage"> 43 <div> 44 <div> 45 <h3 class="title"><a id="func_details"></a> 46Function Details</h3> 47 </div> 48 </div> 49 </div> 50 <pre class="programlisting"> 51const��ddt&��operator=(const��ddt��&dt2) 52 </pre> 53 <div class="sect3" lang="en" xml:lang="en"> 54 <div class="titlepage"></div> 55 <p>Assignment Operator. </p> 56 <p></p> 57 </div> 58 <div class="sect3" lang="en" xml:lang="en"> 59 <div class="titlepage"> 60 <div> 61 <div> 62 <h4 class="title"><a id="id1570399"></a> 63Parameters</h4> 64 </div> 65 </div> 66 </div> 67 <div class="sect4" lang="en" xml:lang="en"> 68 <div class="titlepage"> 69 <div> 70 <div> 71 <h5 class="title"><a id="id1570500"></a> 72 dt2 </h5> 73 </div> 74 </div> 75 </div> 76 <p>The data value to assign with. </p> 77 </div> 78 </div> 79 <div class="sect3" lang="en" xml:lang="en"> 80 <div class="titlepage"> 81 <div> 82 <div> 83 <h4 class="title"><a id="id1570092"></a> 84Return Value</h4> 85 </div> 86 </div> 87 </div> 88 <p>The object dt2's reference. </p> 89 </div> 90 <pre class="programlisting"> 91const��self&��operator=(const��self��&me) 92 </pre> 93 <div class="sect3" lang="en" xml:lang="en"> 94 <div class="titlepage"></div> 95 <p>Assignment Operator. </p> 96 <p></p> 97 </div> 98 <div class="sect3" lang="en" xml:lang="en"> 99 <div class="titlepage"> 100 <div> 101 <div> 102 <h4 class="title"><a id="id1570326"></a> 103Parameters</h4> 104 </div> 105 </div> 106 </div> 107 <div class="sect4" lang="en" xml:lang="en"> 108 <div class="titlepage"> 109 <div> 110 <div> 111 <h5 class="title"><a id="id1570568"></a> 112 me </h5> 113 </div> 114 </div> 115 </div> 116 <p>The object to assign with. </p> 117 </div> 118 </div> 119 <div class="sect3" lang="en" xml:lang="en"> 120 <div class="titlepage"> 121 <div> 122 <div> 123 <h4 class="title"><a id="id1570283"></a> 124Return Value</h4> 125 </div> 126 </div> 127 </div> 128 <p>The object me's reference. </p> 129 </div> 130 </div> 131 <div class="sect2" lang="en" xml:lang="en"> 132 <div class="titlepage"> 133 <div> 134 <div> 135 <h3 class="title"><a id="id1570388"></a> 136Group: Assignment operators.</h3> 137 </div> 138 </div> 139 </div> 140 <p>The assignment operators are used to store right-values into the wrapped object, and also to store values into an underlying container. </p> 141 </div> 142 <div class="sect2" lang="en" xml:lang="en"> 143 <div class="titlepage"> 144 <div> 145 <div> 146 <h3 class="title"><a id="id1570400"></a> 147Class</h3> 148 </div> 149 </div> 150 </div> 151 <p> 152 <a class="link" href="ElementRef.html" title="Chapter��24.�� ElementRef"> 153 ElementRef</a> 154 </p> 155 </div> 156 </div> 157 <div class="navfooter"> 158 <hr /> 159 <table width="100%" summary="Navigation footer"> 160 <tr> 161 <td width="40%" align="left"><a accesskey="p" href="stlElementRefElementRef.html">Prev</a>��</td> 162 <td width="20%" align="center"> 163 <a accesskey="u" href="ElementRef.html">Up</a> 164 </td> 165 <td width="40%" align="right">��<a accesskey="n" href="stlElementRef_DB_STL_StoreElement.html">Next</a></td> 166 </tr> 167 <tr> 168 <td width="40%" align="left" valign="top"> 169ElementRef 170��</td> 171 <td width="20%" align="center"> 172 <a accesskey="h" href="index.html">Home</a> 173 </td> 174 <td width="40%" align="right" valign="top">�� 175_DB_STL_StoreElement 176</td> 177 </tr> 178 </table> 179 </div> 180 </body> 181</html> 182