• 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>capacity</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_vectormax_size.html" title="max_size" />
12    <link rel="next" href="stldb_vectoroperator_sqbrk.html" title="operator[]" />
13  </head>
14  <body>
15    <div class="navheader">
16      <table width="100%" summary="Navigation header">
17        <tr>
18          <th colspan="3" align="center">
19capacity
20</th>
21        </tr>
22        <tr>
23          <td width="20%" align="left"><a accesskey="p" href="stldb_vectormax_size.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_vectoroperator_sqbrk.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_vectorcapacity"></a>
36capacity
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">
51size_type��capacity()��const
52 </pre>
53        <div class="sect3" lang="en" xml:lang="en">
54          <div class="titlepage"></div>
55          <p>Get capacity. </p>
56        </div>
57      </div>
58      <div class="sect2" lang="en" xml:lang="en">
59        <div class="titlepage">
60          <div>
61            <div>
62              <h3 class="title"><a id="id1546774"></a>
63Group: Huge return</h3>
64            </div>
65          </div>
66        </div>
67        <p>These two functions return 2^30, denoting a huge number that does not overflow, because dbstl does not have to manage memory space.</p>
68        <p>But the return value is not the real limit, see the Berkeley DB database limits for the limits. </p>
69      </div>
70      <div class="sect2" lang="en" xml:lang="en">
71        <div class="titlepage">
72          <div>
73            <div>
74              <h3 class="title"><a id="id1546564"></a>
75Class</h3>
76            </div>
77          </div>
78        </div>
79        <p>
80  <a class="link" href="db_vector.html" title="Chapter��4.�� Db_vector">
81  db_vector</a>
82     </p>
83      </div>
84    </div>
85    <div class="navfooter">
86      <hr />
87      <table width="100%" summary="Navigation footer">
88        <tr>
89          <td width="40%" align="left"><a accesskey="p" href="stldb_vectormax_size.html">Prev</a>��</td>
90          <td width="20%" align="center">
91            <a accesskey="u" href="db_vector.html">Up</a>
92          </td>
93          <td width="40%" align="right">��<a accesskey="n" href="stldb_vectoroperator_sqbrk.html">Next</a></td>
94        </tr>
95        <tr>
96          <td width="40%" align="left" valign="top">
97max_size
98��</td>
99          <td width="20%" align="center">
100            <a accesskey="h" href="index.html">Home</a>
101          </td>
102          <td width="40%" align="right" valign="top">��
103operator[]
104</td>
105        </tr>
106      </table>
107    </div>
108  </body>
109</html>
110