Debian Codegraph @

docs/api_reference/STL/stldb_vectorfront.html

raw symbols SCIP
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>front</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_vectorat.html" title="at" />
12 <link rel="next" href="stldb_vectorback.html" title="back" />
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">front</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="stldb_vectorat.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_vectorback.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_vectorfront"></a>front</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_vectorfront_details"></a>Function Details</h3>
45 </div>
46 </div>
47 </div>
48 <pre class="programlisting">
49 reference front()
50 </pre>
51 <p>Return a reference to the first 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="idp50178232"></a>Return Value</h4>
57 </div>
58 </div>
59 </div>
60 <p>Return a reference to the first 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="idp50195936"></a>See Also</h4>
67 </div>
68 </div>
69 </div>
70 <p>
71 </p>
72 <p>
73 <a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/front/" target="_top">http://www.cplusplus.com/reference/stl/vector/front/</a>
74 </p>
75 <p>
76 </p>
77 </div>
78 <pre class="programlisting">
79 const_reference front() const
80 </pre>
81 <p>Return a const reference to the first element. </p>
82 <p>The return value can't be used to update the element. </p>
83 <div class="sect3" lang="en" xml:lang="en">
84 <div class="titlepage">
85 <div>
86 <div>
87 <h4 class="title"><a id="idp50182472"></a>Return Value</h4>
88 </div>
89 </div>
90 </div>
91 <p>Return a const reference to the first element. </p>
92 </div>
93 <div class="sect3" lang="en" xml:lang="en">
94 <div class="titlepage">
95 <div>
96 <div>
97 <h4 class="title"><a id="idp50186296"></a>See Also</h4>
98 </div>
99 </div>
100 </div>
101 <p>
102 </p>
103 <p>
104 <a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/front/" target="_top">http://www.cplusplus.com/reference/stl/vector/front/</a>
105 </p>
106 <p>
107 </p>
108 </div>
109 </div>
110 <div class="sect2" lang="en" xml:lang="en">
111 <div class="titlepage">
112 <div>
113 <div>
114 <h3 class="title"><a id="idp50178792"></a>Group: Element access functions.</h3>
115 </div>
116 </div>
117 </div>
118 <p>The operator[] and <a class="link" href="stldb_vectorat.html" title="at">at()</a>
119 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>
120 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>
121 <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>
122 </div>
123 <div class="sect2" lang="en" xml:lang="en">
124 <div class="titlepage">
125 <div>
126 <div>
127 <h3 class="title"><a id="idp50197104"></a>Class</h3>
128 </div>
129 </div>
130 </div>
131 <p>
132 <a class="link" href="db_vector.html" title="Chapter 4.  Db_vector">db_vector</a>
133 </p>
134 </div>
135 </div>
136 <div class="navfooter">
137 <hr />
138 <table width="100%" summary="Navigation footer">
139 <tr>
140 <td width="40%" align="left"><a accesskey="p" href="stldb_vectorat.html">Prev</a> </td>
141 <td width="20%" align="center">
142 <a accesskey="u" href="db_vector.html">Up</a>
143 </td>
144 <td width="40%" align="right"> <a accesskey="n" href="stldb_vectorback.html">Next</a></td>
145 </tr>
146 <tr>
147 <td width="40%" align="left" valign="top">at </td>
148 <td width="20%" align="center">
149 <a accesskey="h" href="index.html">Home</a>
150 </td>
151 <td width="40%" align="right" valign="top"> back</td>
152 </tr>
153 </table>
154 </div>
155 </body>
156 </html>