forked from boostorg/fusion
@ -3,7 +3,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||
<title>list</title>
|
||||
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0-pre">
|
||||
<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.0">
|
||||
<link rel="up" href="../container.html" title="Container">
|
||||
<link rel="prev" href="cons.html" title="cons">
|
||||
@ -27,7 +27,7 @@
|
||||
<a name="fusion.container.list"></a><a class="link" href="list.html" title="list">list</a>
|
||||
</h3></div></div></div>
|
||||
<a name="fusion.container.list.description"></a><h5>
|
||||
<a name="id947011"></a>
|
||||
<a name="id830705"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.description">Description</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -38,7 +38,7 @@
|
||||
runtime cost of access to each element is peculiarly constant (see <a class="link" href="../notes.html#fusion.notes.recursive_inlined_functions">Recursive Inlined Functions</a>).
|
||||
</p>
|
||||
<a name="fusion.container.list.header"></a><h5>
|
||||
<a name="id947064"></a>
|
||||
<a name="id830800"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.header">Header</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">container</span><span class="special">/</span><span class="identifier">list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
@ -47,7 +47,7 @@
|
||||
<span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">include</span><span class="special">/</span><span class="identifier">list_fwd</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||||
</pre>
|
||||
<a name="fusion.container.list.synopsis"></a><h5>
|
||||
<a name="id947270"></a>
|
||||
<a name="id831091"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.synopsis">Synopsis</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span>
|
||||
@ -75,7 +75,7 @@
|
||||
<pre class="programlisting"><span class="preprocessor">#define</span> <span class="identifier">FUSION_MAX_LIST_SIZE</span> <span class="number">20</span>
|
||||
</pre>
|
||||
<a name="fusion.container.list.template_parameters"></a><h5>
|
||||
<a name="id947503"></a>
|
||||
<a name="id831417"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.template_parameters">Template parameters</a>
|
||||
</h5>
|
||||
<div class="informaltable"><table class="table">
|
||||
@ -120,10 +120,12 @@
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
<a name="fusion.container.list.model_of"></a><h5>
|
||||
<a name="id947601"></a>
|
||||
<a name="id831540"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.model_of">Model of</a>
|
||||
</h5>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a></li></ul></div>
|
||||
<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem">
|
||||
<a class="link" href="../sequence/concepts/forward_sequence.html" title="Forward Sequence">Forward Sequence</a>
|
||||
</li></ul></div>
|
||||
<div class="variablelist">
|
||||
<p class="title"><b>Notation</b></p>
|
||||
<dl>
|
||||
@ -152,7 +154,7 @@
|
||||
</dl>
|
||||
</div>
|
||||
<a name="fusion.container.list.expression_semantics"></a><h5>
|
||||
<a name="id947761"></a>
|
||||
<a name="id831764"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.expression_semantics">Expression Semantics</a>
|
||||
</h5>
|
||||
<p>
|
||||
@ -259,7 +261,7 @@
|
||||
</p>
|
||||
</div>
|
||||
<a name="fusion.container.list.example"></a><h5>
|
||||
<a name="id948172"></a>
|
||||
<a name="id832347"></a>
|
||||
<a class="link" href="list.html#fusion.container.list.example">Example</a>
|
||||
</h5>
|
||||
<pre class="programlisting"><span class="identifier">list</span><span class="special"><</span><span class="keyword">int</span><span class="special">,</span> <span class="keyword">float</span><span class="special">></span> <span class="identifier">l</span><span class="special">(</span><span class="number">12</span><span class="special">,</span> <span class="number">5.5f</span><span class="special">);</span>
|
||||
|
Reference in New Issue
Block a user