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>operator[]</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_reverse_iterator.html" title="Chapter 20. Db_reverse_iterator" /> 11 <link rel="prev" href="stldb_reverse_iteratoroperator_assign.html" title="operator=" /> 12 <link rel="next" href="dbstl_helper_classes.html" title="Chapter 21. Dbstl Helper Classes" /> 13 </head> 14 <body> 15 <div class="navheader"> 16 <table width="100%" summary="Navigation header"> 17 <tr> 18 <th colspan="3" align="center"> 19operator[] 20</th> 21 </tr> 22 <tr> 23 <td width="20%" align="left"><a accesskey="p" href="stldb_reverse_iteratoroperator_assign.html">Prev</a> </td> 24 <th width="60%" align="center">Chapter 20. 25 Db_reverse_iterator </th> 26 <td width="20%" align="right"> <a accesskey="n" href="dbstl_helper_classes.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_reverse_iteratoroperator_sqbrk"></a> 36operator[] 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"> 51value_type_wrap operator[](difference_type Off) const 52 </pre> 53 <div class="sect3" lang="en" xml:lang="en"> 54 <div class="titlepage"></div> 55 <p>Return the reference of the element which can be reached by moving this reverse iterator by Off times backward. </p> 56 <p>If Off is negative, the movement will be forward. </p> 57 </div> 58 </div> 59 <div class="sect2" lang="en" xml:lang="en"> 60 <div class="titlepage"> 61 <div> 62 <div> 63 <h3 class="title"><a id="id1567816"></a> 64Class</h3> 65 </div> 66 </div> 67 </div> 68 <p> 69 <a class="link" href="db_reverse_iterator.html" title="Chapter 20. Db_reverse_iterator"> 70 db_reverse_iterator</a> 71 </p> 72 </div> 73 </div> 74 <div class="navfooter"> 75 <hr /> 76 <table width="100%" summary="Navigation footer"> 77 <tr> 78 <td width="40%" align="left"><a accesskey="p" href="stldb_reverse_iteratoroperator_assign.html">Prev</a> </td> 79 <td width="20%" align="center"> 80 <a accesskey="u" href="db_reverse_iterator.html">Up</a> 81 </td> 82 <td width="40%" align="right"> <a accesskey="n" href="dbstl_helper_classes.html">Next</a></td> 83 </tr> 84 <tr> 85 <td width="40%" align="left" valign="top"> 86operator= 87 </td> 88 <td width="20%" align="center"> 89 <a accesskey="h" href="index.html">Home</a> 90 </td> 91 <td width="40%" align="right" valign="top"> Chapter 21. 92 Dbstl Helper Classes </td> 93 </tr> 94 </table> 95 </div> 96 </body> 97</html> 98