mirror of git://gcc.gnu.org/git/gcc.git
				
				
				
			
		
			
				
	
	
		
			261 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
			
		
		
	
	
			261 lines
		
	
	
		
			4.5 KiB
		
	
	
	
		
			HTML
		
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 | |
| <html>
 | |
| <head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
 | |
| <title>Tables</title>
 | |
| <link href="style.css" rel="stylesheet" type="text/css">
 | |
| </head>
 | |
| 
 | |
| <body bgcolor="#ffffff">
 | |
| <!--
 | |
|      Tables can be jumped to with their number, e.g., "tables.html#67".
 | |
| -->
 | |
| 
 | |
| <h1>Tables</h1>
 | |
| 
 | |
| <p>Most of the requirements on containers are presented in the ISO standard
 | |
|    in the form of tables.  In order to avoid massive duplication of effort,
 | |
|    we follow the standard's lead and present the information here.
 | |
|    Individual classes will only document their departures from these tables
 | |
|    (removed functions, additional functions, changes, etc).
 | |
| </p>
 | |
| 
 | |
| <p>The numbers are the same as those used in the standard.
 | |
| </p>
 | |
| 
 | |
| <hr />
 | |
| 
 | |
| <a name="65"><p>
 | |
| <table cellpadding="3" cellspacing="5" align="center" rules="rows" border="3"
 | |
|        cols="3" title="Table 65">
 | |
| <caption><h2>Table 65 --- Container Requirements</h2></caption>
 | |
| <tr><th colspan="4">
 | |
| Anything calling itself a container must meet these minimum requirements.
 | |
| </th></tr>
 | |
| <tr>
 | |
| <td><strong>expression</strong></td>
 | |
| <td><strong>result type</strong></td>
 | |
| <td><strong>notes</strong></td>
 | |
| <td><strong>complexity</strong></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| </table title="Table 65"></p></a>
 | |
| 
 | |
| 
 | |
| <a name="66"><p>
 | |
| <table cellpadding="3" cellspacing="5" align="center" rules="rows" border="3"
 | |
|        cols="3" title="Table 66">
 | |
| <caption><h2>Table 66 --- Reversible Container Requirements</h2></caption>
 | |
| <tr><th colspan="4">
 | |
| If a container's iterator is bidirectional or random-access, then the
 | |
| container also meets these requirements.
 | |
| Foo, bar, and baz are such containers.
 | |
| </th></tr>
 | |
| <tr>
 | |
| <td><strong>expression</strong></td>
 | |
| <td><strong>result type</strong></td>
 | |
| <td><strong>notes</strong></td>
 | |
| <td><strong>complexity</strong></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| </table title="Table 66"></p></a>
 | |
| 
 | |
| 
 | |
| <a name="67"><p>
 | |
| <table cellpadding="3" cellspacing="5" align="center" rules="rows" border="3"
 | |
|        cols="3" title="Table 67">
 | |
| <caption><h2>Table 67 --- Sequence Requirements</h2></caption>
 | |
| <tr><th colspan="4">
 | |
| These are in addition to the requirements of <a href="#65">containers</a>.
 | |
| Foo, bar, and baz are such containers.
 | |
| </th></tr>
 | |
| <tr>
 | |
| <td><strong>expression</strong></td>
 | |
| <td><strong>result type</strong></td>
 | |
| <td><strong>notes</strong></td>
 | |
| <td><strong>complexity</strong></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| </table title="Table 67"></p></a>
 | |
| 
 | |
| 
 | |
| <a name="68"><p>
 | |
| <table cellpadding="3" cellspacing="5" align="center" rules="rows" border="3"
 | |
|        cols="3" title="Table 68">
 | |
| <caption><h2>Table 68 --- Optional Sequence Operations</h2></caption>
 | |
| <tr><th colspan="4">
 | |
| These operations are only included in containers when the operation can be
 | |
| done in constant time.
 | |
| Foo, bar, and baz are such containers.
 | |
| </th></tr>
 | |
| <tr>
 | |
| <td><strong>expression</strong></td>
 | |
| <td><strong>result type</strong></td>
 | |
| <td><strong>notes</strong></td>
 | |
| <td><strong>complexity</strong></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| </table title="Table 68"></p></a>
 | |
| 
 | |
| 
 | |
| <a name="69"><p>
 | |
| <table cellpadding="3" cellspacing="5" align="center" rules="rows" border="3"
 | |
|        cols="3" title="Table 69">
 | |
| <caption><h2>Table 69 --- Associative Container Requirements</h2></caption>
 | |
| <tr><th colspan="4">
 | |
| These are in addition to the requirements of <a href="#65">containers</a>.
 | |
| </th></tr>
 | |
| <tr>
 | |
| <td><strong>expression</strong></td>
 | |
| <td><strong>result type</strong></td>
 | |
| <td><strong>notes</strong></td>
 | |
| <td><strong>complexity</strong></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| 
 | |
| <tr>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| <td></td>
 | |
| </tr>
 | |
| </table title="Table 69"></p></a>
 | |
| 
 | |
| 
 | |
| <hr />
 | |
| <p class="smallertext"><em>
 | |
| See <a href="mainpage.html">mainpage.html</a> for copying conditions.
 | |
| </em></p>
 | |
| 
 | |
| 
 | |
| </body>
 | |
| </html>
 | |
| 
 |