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">
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>push_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_vectorassign.html" title="assign" />
12 <link rel="next" href="stldb_vectorpop_front.html" title="pop_front" />
15 <div xmlns="" class="navheader">
17 <p>Library Version 11.2.5.3</p>
19 <table width="100%" summary="Navigation header">
21 <th colspan="3" align="center">push_front</th>
24 <td width="20%" align="left"><a accesskey="p" href="stldb_vectorassign.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 4.
27 <td width="20%" align="right"> <a accesskey="n" href="stldb_vectorpop_front.html">Next</a></td>
32 <div class="sect1" lang="en" xml:lang="en">
33 <div class="titlepage">
36 <h2 class="title" style="clear: both"><a id="stldb_vectorpush_front"></a>push_front</h2>
40 <div class="sect2" lang="en" xml:lang="en">
41 <div class="titlepage">
44 <h3 class="title"><a id="stldb_vectorpush_front_details"></a>Function Details</h3>
48 <pre class="programlisting">
49 void push_front(const T &x)
51 <p>Push an element x into the vector from front. </p>
52 <div class="sect3" lang="en" xml:lang="en">
53 <div class="titlepage">
56 <h4 class="title"><a id="idm55144"></a>Parameters</h4>
60 <div class="sect4" lang="en" xml:lang="en">
61 <div class="titlepage">
64 <h5 class="title"><a id="idm725360"></a>x</h5>
68 <p>The element to push into this vector. This function supports auto-commit. </p>
72 <div class="sect2" lang="en" xml:lang="en">
73 <div class="titlepage">
76 <h3 class="title"><a id="idm1268048"></a>Group: Functions specific to deque and list</h3>
80 <p>These functions come from std::list and std::deque, and have identical behaviors to their counterparts in std::list/stddeque.</p>
81 <div class="simplesect" lang="en" xml:lang="en">
82 <div class="titlepage"></div>
83 <p><a class="ulink" href="http://www.cplusplus.com/reference/stl/deque/pop_front/" target="_top">http://www.cplusplus.com/reference/stl/deque/pop_front/</a> <a class="ulink" href="http://www.cplusplus.com/reference/stl/deque/push_front/" target="_top">http://www.cplusplus.com/reference/stl/deque/push_front/</a></p>
88 <div class="sect2" lang="en" xml:lang="en">
89 <div class="titlepage">
92 <h3 class="title"><a id="idm1439904"></a>Class</h3>
97 <a class="link" href="db_vector.html" title="Chapter 4. Db_vector">db_vector</a>
101 <div class="navfooter">
103 <table width="100%" summary="Navigation footer">
105 <td width="40%" align="left"><a accesskey="p" href="stldb_vectorassign.html">Prev</a> </td>
106 <td width="20%" align="center">
107 <a accesskey="u" href="db_vector.html">Up</a>
109 <td width="40%" align="right"> <a accesskey="n" href="stldb_vectorpop_front.html">Next</a></td>
112 <td width="40%" align="left" valign="top">assign </td>
113 <td width="20%" align="center">
114 <a accesskey="h" href="index.html">Home</a>
116 <td width="40%" align="right" valign="top"> pop_front</td>