Debian Codegraph @

docs/api_reference/STL/stldb_vectorcapacity.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>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 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">capacity</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="stldb_vectormax_size.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_sqbrk.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_vectorcapacity"></a>capacity</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_vectorcapacity_details"></a>Function Details</h3>
45 </div>
46 </div>
47 </div>
48 <pre class="programlisting">
49 size_type capacity() const
50 </pre>
51 <p>Get capacity. </p>
52 </div>
53 <div class="sect2" lang="en" xml:lang="en">
54 <div class="titlepage">
55 <div>
56 <div>
57 <h3 class="title"><a id="idp50160976"></a>Group: Huge return</h3>
58 </div>
59 </div>
60 </div>
61 <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>
62 <p>But the return value is not the real limit, see the Berkeley DB database limits for the limits. </p>
63 </div>
64 <div class="sect2" lang="en" xml:lang="en">
65 <div class="titlepage">
66 <div>
67 <div>
68 <h3 class="title"><a id="idp50175432"></a>Class</h3>
69 </div>
70 </div>
71 </div>
72 <p>
73 <a class="link" href="db_vector.html" title="Chapter 4.  Db_vector">db_vector</a>
74 </p>
75 </div>
76 </div>
77 <div class="navfooter">
78 <hr />
79 <table width="100%" summary="Navigation footer">
80 <tr>
81 <td width="40%" align="left"><a accesskey="p" href="stldb_vectormax_size.html">Prev</a> </td>
82 <td width="20%" align="center">
83 <a accesskey="u" href="db_vector.html">Up</a>
84 </td>
85 <td width="40%" align="right"> <a accesskey="n" href="stldb_vectoroperator_sqbrk.html">Next</a></td>
86 </tr>
87 <tr>
88 <td width="40%" align="left" valign="top">max_size </td>
89 <td width="20%" align="center">
90 <a accesskey="h" href="index.html">Home</a>
91 </td>
92 <td width="40%" align="right" valign="top"> operator[]</td>
93 </tr>
94 </table>
95 </div>
96 </body>
97 </html>