Fusion: added nview and friends, docs and tests

[SVN r56377]
This commit is contained in:
Hartmut Kaiser
2009-09-25 00:21:53 +00:00
parent 43645b3764
commit 10c0665ffa
258 changed files with 16390 additions and 13592 deletions

View File

@ -3,11 +3,10 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Intrinsic</title>
<link rel="stylesheet" href="../../../../../../doc/html/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.65.1">
<meta name="generator" content="DocBook XSL Stylesheets V1.75.0">
<link rel="home" href="../../index.html" title="Chapter<65>1.<2E>Fusion 2.0">
<link rel="up" href="../sequence.html" title="Sequence">
<link rel="previous" href="concepts/associative_sequence.html" title="Associative
Sequence">
<link rel="prev" href="concepts/associative_sequence.html" title="Associative Sequence">
<link rel="next" href="intrinsic/functions.html" title="Functions">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
@ -23,37 +22,34 @@
<div class="spirit-nav">
<a accesskey="p" href="concepts/associative_sequence.html"><img src="../../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../sequence.html"><img src="../../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/html/images/home.png" alt="Home"></a><a accesskey="n" href="intrinsic/functions.html"><img src="../../../../../../doc/html/images/next.png" alt="Next"></a>
</div>
<div class="section" lang="en">
<div class="titlepage">
<div><div><h3 class="title">
<a name="fusion.sequence.intrinsic"></a><a href="intrinsic.html" title="Intrinsic">Intrinsic</a>
</h3></div></div>
<div></div>
</div>
<div class="section" title="Intrinsic">
<div class="titlepage"><div><div><h3 class="title">
<a name="fusion.sequence.intrinsic"></a><a class="link" href="intrinsic.html" title="Intrinsic">Intrinsic</a>
</h3></div></div></div>
<div class="toc"><dl>
<dt><span class="section"><a href="intrinsic/functions.html">Functions</a></span></dt>
<dt><span class="section"><a href="intrinsic/metafunctions.html">Metafunctions</a></span></dt>
</dl></div>
<p>
Intrinsic form the essential interface of every Fusion <a href="../sequence.html" title="Sequence">Sequence</a>.
Intrinsic form the essential interface of every Fusion <a class="link" href="../sequence.html" title="Sequence">Sequence</a>.
<a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>
counterparts of these functions are usually implemented as member functions.
Intrinsic functions, unlike <a href="../algorithm.html" title="Algorithm">Algorithms</a>,
are not generic across the full <a href="../sequence.html" title="Sequence">Sequence</a>
repertoire. They need to be implemented for each Fusion <a href="../sequence.html" title="Sequence">Sequence</a>
<sup>[<a name="id449142" href="#ftn.id449142">5</a>]</sup>
Intrinsic functions, unlike <a class="link" href="../algorithm.html" title="Algorithm">Algorithms</a>,
are not generic across the full <a class="link" href="../sequence.html" title="Sequence">Sequence</a>
repertoire. They need to be implemented for each Fusion <a class="link" href="../sequence.html" title="Sequence">Sequence</a>
<sup>[<a name="id597333" href="#ftn.id597333" class="footnote">5</a>]</sup>
.
</p>
<a name="fusion.sequence.intrinsic.header"></a><h4>
<a name="id449160"></a>
<a href="intrinsic.html#fusion.sequence.intrinsic.header">Header</a>
</h4>
<a name="fusion.sequence.intrinsic.header"></a><h5>
<a name="id597345"></a>
<a class="link" href="intrinsic.html#fusion.sequence.intrinsic.header">Header</a>
</h5>
<pre class="programlisting"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">fusion</span><span class="special">/</span><span class="identifier">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
<span class="preprocessor">#include</span> <span class="special">&lt;</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">intrinsic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span>
</pre>
<div class="footnotes">
<br><hr width="100" align="left">
<div class="footnote"><p><sup>[<a name="ftn.id449142" href="#id449142">5</a>] </sup>
<div class="footnote"><p><sup>[<a name="ftn.id597333" href="#id597333" class="para">5</a>] </sup>
In practice, many of intrinsic functions have default implementations
that will work in majority of cases
</p></div>