| 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>back</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="db_vector.html" title="Chapter 4. Db_vector" /> |
| 11 | <link rel="prev" href="stldb_vectorfront.html" title="front" /> |
| 12 | <link rel="next" href="stldb_vectoroperator_eq.html" title="operator==" /> |
| 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">back</th> |
| 22 | </tr> |
| 23 | <tr> |
| 24 | <td width="20%" align="left"><a accesskey="p" href="stldb_vectorfront.html">Prev</a> </td> |
| 25 | <th width="60%" align="center">Chapter 4. |
| 26 | Db_vector </th> |
| 27 | <td width="20%" align="right"> <a accesskey="n" href="stldb_vectoroperator_eq.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="stldb_vectorback"></a>back</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="stldb_vectorback_details"></a>Function Details</h3> |
| 45 | </div> |
| 46 | </div> |
| 47 | </div> |
| 48 | <pre class="programlisting"> |
| 49 | reference back() |
| 50 | </pre> |
| 51 | <p>Return a reference to the last element. </p> |
| 52 | <div class="sect3" lang="en" xml:lang="en"> |
| 53 | <div class="titlepage"> |
| 54 | <div> |
| 55 | <div> |
| 56 | <h4 class="title"><a id="idp50193488"></a>Return Value</h4> |
| 57 | </div> |
| 58 | </div> |
| 59 | </div> |
| 60 | <p>Return a reference to the last element. </p> |
| 61 | </div> |
| 62 | <div class="sect3" lang="en" xml:lang="en"> |
| 63 | <div class="titlepage"> |
| 64 | <div> |
| 65 | <div> |
| 66 | <h4 class="title"><a id="idp50202848"></a>See Also</h4> |
| 67 | </div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <p> |
| 71 | </p> |
| 72 | <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/back/" target="_top">http://www.cplusplus.com/reference/stl/vector/back/</a> </p> |
| 73 | <p> |
| 74 | </p> |
| 75 | </div> |
| 76 | <pre class="programlisting"> |
| 77 | const_reference back() const |
| 78 | </pre> |
| 79 | <p>Return a reference to the last element. </p> |
| 80 | <p>The return value can't be used to update the element. </p> |
| 81 | <div class="sect3" lang="en" xml:lang="en"> |
| 82 | <div class="titlepage"> |
| 83 | <div> |
| 84 | <div> |
| 85 | <h4 class="title"><a id="idp50184080"></a>Return Value</h4> |
| 86 | </div> |
| 87 | </div> |
| 88 | </div> |
| 89 | <p>Return a reference to the last element. </p> |
| 90 | </div> |
| 91 | <div class="sect3" lang="en" xml:lang="en"> |
| 92 | <div class="titlepage"> |
| 93 | <div> |
| 94 | <div> |
| 95 | <h4 class="title"><a id="idp50184400"></a>See Also</h4> |
| 96 | </div> |
| 97 | </div> |
| 98 | </div> |
| 99 | <p> |
| 100 | </p> |
| 101 | <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/back/" target="_top">http://www.cplusplus.com/reference/stl/vector/back/</a> </p> |
| 102 | <p> |
| 103 | </p> |
| 104 | </div> |
| 105 | </div> |
| 106 | <div class="sect2" lang="en" xml:lang="en"> |
| 107 | <div class="titlepage"> |
| 108 | <div> |
| 109 | <div> |
| 110 | <h3 class="title"><a id="idp50201504"></a>Group: Element access functions.</h3> |
| 111 | </div> |
| 112 | </div> |
| 113 | </div> |
| 114 | <p>The operator[] and <a class="link" href="stldb_vectorat.html" title="at">at()</a> |
| 115 | only come from std::vector and std::deque, If you are using <a class="link" href="db_vector.html" title="Chapter 4. Db_vector">db_vector</a> |
| 116 | as std::list, you don't have to set DB_RENUMBER flag to the backing database handle, and you get better performance, but at the same time you can't use these functions.</p> |
| 117 | <p>Otherwise if you have set the DB_RENUMBER flag to the backing database handle, you can use this function though it is an std::list equivalent. </p> |
| 118 | </div> |
| 119 | <div class="sect2" lang="en" xml:lang="en"> |
| 120 | <div class="titlepage"> |
| 121 | <div> |
| 122 | <div> |
| 123 | <h3 class="title"><a id="idp50203752"></a>Class</h3> |
| 124 | </div> |
| 125 | </div> |
| 126 | </div> |
| 127 | <p> |
| 128 | <a class="link" href="db_vector.html" title="Chapter 4. Db_vector">db_vector</a> |
| 129 | </p> |
| 130 | </div> |
| 131 | </div> |
| 132 | <div class="navfooter"> |
| 133 | <hr /> |
| 134 | <table width="100%" summary="Navigation footer"> |
| 135 | <tr> |
| 136 | <td width="40%" align="left"><a accesskey="p" href="stldb_vectorfront.html">Prev</a> </td> |
| 137 | <td width="20%" align="center"> |
| 138 | <a accesskey="u" href="db_vector.html">Up</a> |
| 139 | </td> |
| 140 | <td width="40%" align="right"> <a accesskey="n" href="stldb_vectoroperator_eq.html">Next</a></td> |
| 141 | </tr> |
| 142 | <tr> |
| 143 | <td width="40%" align="left" valign="top">front </td> |
| 144 | <td width="20%" align="center"> |
| 145 | <a accesskey="h" href="index.html">Home</a> |
| 146 | </td> |
| 147 | <td width="40%" align="right" valign="top"> operator==</td> |
| 148 | </tr> |
| 149 | </table> |
| 150 | </div> |
| 151 | </body> |
| 152 | </html> |