• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/docs/api_reference/STL/
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 class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">
19front
20</th>
21        </tr>
22        <tr>
23          <td width="20%" align="left"><a accesskey="p" href="stldb_vectorat.html">Prev</a>��</td>
24          <th width="60%" align="center">Chapter��4.��
25 Db_vector  </th>
26          <td width="20%" align="right">��<a accesskey="n" href="stldb_vectorback.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="stldb_vectorfront"></a>
36front
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">
51reference��front()
52 </pre>
53        <div class="sect3" lang="en" xml:lang="en">
54          <div class="titlepage"></div>
55          <p>Return a reference to the first element. </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="id1546988"></a>
63Return Value</h4>
64              </div>
65            </div>
66          </div>
67          <p>Return a reference to the first element. </p>
68        </div>
69        <div class="sect3" lang="en" xml:lang="en">
70          <div class="titlepage">
71            <div>
72              <div>
73                <h4 class="title"><a id="id1546989"></a>
74See Also</h4>
75              </div>
76            </div>
77          </div>
78          <p>
79    </p>
80          <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/front.html" target="_top">http://www.cplusplus.com/reference/stl/vector/front.html</a> </p>
81          <p>   </p>
82        </div>
83        <pre class="programlisting">
84const_reference��front()��const
85 </pre>
86        <div class="sect3" lang="en" xml:lang="en">
87          <div class="titlepage"></div>
88          <p>Return a const reference to the first element. </p>
89          <p>The return value can't be used to update the 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="id1547073"></a>
96Return Value</h4>
97              </div>
98            </div>
99          </div>
100          <p>Return a const reference to the first element. </p>
101        </div>
102        <div class="sect3" lang="en" xml:lang="en">
103          <div class="titlepage">
104            <div>
105              <div>
106                <h4 class="title"><a id="id1547010"></a>
107See Also</h4>
108              </div>
109            </div>
110          </div>
111          <p>
112    </p>
113          <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/vector/front.html" target="_top">http://www.cplusplus.com/reference/stl/vector/front.html</a> </p>
114          <p>   </p>
115        </div>
116      </div>
117      <div class="sect2" lang="en" xml:lang="en">
118        <div class="titlepage">
119          <div>
120            <div>
121              <h3 class="title"><a id="id1547011"></a>
122Group: Element access functions.</h3>
123            </div>
124          </div>
125        </div>
126        <p>The operator[] and <a class="link" href="stldb_vectorat.html" title="at">at()</a>
127 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>
128 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>
129        <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>
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="id1546966"></a>
136Class</h3>
137            </div>
138          </div>
139        </div>
140        <p>
141  <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">
142  db_vector</a>
143     </p>
144      </div>
145    </div>
146    <div class="navfooter">
147      <hr />
148      <table width="100%" summary="Navigation footer">
149        <tr>
150          <td width="40%" align="left"><a accesskey="p" href="stldb_vectorat.html">Prev</a>��</td>
151          <td width="20%" align="center">
152            <a accesskey="u" href="db_vector.html">Up</a>
153          </td>
154          <td width="40%" align="right">��<a accesskey="n" href="stldb_vectorback.html">Next</a></td>
155        </tr>
156        <tr>
157          <td width="40%" align="left" valign="top">
158at
159��</td>
160          <td width="20%" align="center">
161            <a accesskey="h" href="index.html">Home</a>
162          </td>
163          <td width="40%" align="right" valign="top">��
164back
165</td>
166        </tr>
167      </table>
168    </div>
169  </body>
170</html>
171