| Line |   | 
|---|
| 1 | <?xml version="1.0" encoding="utf-8" ?> | 
|---|
| 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" xml:lang="en" lang="en"> | 
|---|
| 4 | <head> | 
|---|
| 5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 
|---|
| 6 | <meta name="generator" content="Docutils 0.3.6: http://docutils.sourceforge.net/" /> | 
|---|
| 7 | <title>Writable Iterator Concept</title> | 
|---|
| 8 | <link rel="stylesheet" href="default.css" type="text/css" /> | 
|---|
| 9 | </head> | 
|---|
| 10 | <body> | 
|---|
| 11 | <h1 class="title">Writable Iterator Concept</h1> | 
|---|
| 12 | <div class="document" id="writable-iterator-concept"> | 
|---|
| 13 | <p>A class or built-in type <tt class="literal"><span class="pre">X</span></tt> models the <em>Writable Iterator</em> concept | 
|---|
| 14 | if, in addition to <tt class="literal"><span class="pre">X</span></tt> being Copy Constructible, the following | 
|---|
| 15 | expressions are valid and respect the stated semantics.  Writable | 
|---|
| 16 | Iterators have an associated <em>set of value types</em>.</p> | 
|---|
| 17 | <table border="1" class="table"> | 
|---|
| 18 | <colgroup> | 
|---|
| 19 | <col width="37%" /> | 
|---|
| 20 | <col width="21%" /> | 
|---|
| 21 | <col width="42%" /> | 
|---|
| 22 | </colgroup> | 
|---|
| 23 | <thead valign="bottom"> | 
|---|
| 24 | <tr><th colspan="3">Writable Iterator Requirements (in addition to Copy Constructible)</th> | 
|---|
| 25 | </tr> | 
|---|
| 26 | <tr><th>Expression</th> | 
|---|
| 27 | <th>Return Type</th> | 
|---|
| 28 | <th>Precondition</th> | 
|---|
| 29 | </tr> | 
|---|
| 30 | </thead> | 
|---|
| 31 | <tbody valign="top"> | 
|---|
| 32 | <tr><td><tt class="literal"><span class="pre">*a</span> <span class="pre">=</span> <span class="pre">o</span></tt></td> | 
|---|
| 33 | <td> </td> | 
|---|
| 34 | <td>pre: The type of <tt class="literal"><span class="pre">o</span></tt> | 
|---|
| 35 | is in the set of | 
|---|
| 36 | value types of <tt class="literal"><span class="pre">X</span></tt></td> | 
|---|
| 37 | </tr> | 
|---|
| 38 | </tbody> | 
|---|
| 39 | </table> | 
|---|
| 40 | </div> | 
|---|
| 41 | <hr class="footer" /> | 
|---|
| 42 | <div class="footer"> | 
|---|
| 43 | <a class="reference" href="WritableIterator.rst">View document source</a>. | 
|---|
| 44 | Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. | 
|---|
| 45 | </div> | 
|---|
| 46 | </body> | 
|---|
| 47 | </html> | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.