forked from boostorg/fusion
94 lines
6.3 KiB
HTML
94 lines
6.3 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
<title>Intrinsics</title>
|
||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
|
||
<link rel="start" href="../../index.html" title="Chapter 1. Fusion 2.0">
|
||
<link rel="up" href="../sequences.html" title="Sequences">
|
||
<link rel="prev" href="adapted/boost__variant.html" title="boost::variant">
|
||
<link rel="next" href="intrinsics/functions.html" title="Functions">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table cellpadding="2" width="100%">
|
||
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
|
||
<td align="center"><a href="../../../../../../index.htm">Home</a></td>
|
||
<td align="center"><a href="../../../../../libraries.htm">Libraries</a></td>
|
||
<td align="center"><a href="../../../../../../people/people.htm">People</a></td>
|
||
<td align="center"><a href="../../../../../../more/faq.htm">FAQ</a></td>
|
||
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
|
||
</table>
|
||
<hr>
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="adapted/boost__variant.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../sequences.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="intrinsics/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||
</div>
|
||
<div class="section" lang="en">
|
||
<div class="titlepage"><div><div><h3 class="title">
|
||
<a name="fusion.sequences.intrinsics"></a><a href="intrinsics.html" title="Intrinsics">Intrinsics</a></h3></div></div></div>
|
||
<div class="toc"><dl>
|
||
<dt><span class="section"><a href="intrinsics/functions.html">Functions</a></span></dt>
|
||
<dd><dl>
|
||
<dt><span class="section"><a href="intrinsics/functions/begin.html">begin</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/end.html">end</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/empty.html">empty</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/front.html">front</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/back.html">back</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/size.html">size</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/at.html">at</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/at_c.html">at_c</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/has_key.html">has_key</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/functions/at_key.html">at_key</a></span></dt>
|
||
</dl></dd>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions.html">Metafunctions</a></span></dt>
|
||
<dd><dl>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/begin.html">begin</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/end.html">end</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/empty.html">empty</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/front.html">front</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/back.html">back</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/size.html">size</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/at.html">at</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/at_c.html">at_c</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/value_at.html">value_at</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/value_at_c.html">value_at_c</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/has_key.html">has_key</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/at_key.html">at_key</a></span></dt>
|
||
<dt><span class="section"><a href="intrinsics/metafunctions/value_at_key.html">value_at_key</a></span></dt>
|
||
</dl></dd>
|
||
</dl></div>
|
||
<p>
|
||
Intrinsics form the essential interface of Fusion <span class="underline">_sequence</span>_s.
|
||
<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="../algorithms.html" title="Algorithms">Algorithms</a>,
|
||
are not generic across the full <a href="../sequences.html" title="Sequences">Sequence</a>
|
||
repertoire. They need to be implemented for each Fusion <a href="../sequences.html" title="Sequences">Sequence</a>
|
||
<sup>[<a name="id1003590" href="#ftn.id1003590">5</a>]</sup>
|
||
.
|
||
</p>
|
||
<a name="fusion.sequences.intrinsics.header"></a><h4>
|
||
<a name="id1003608"></a>
|
||
<a href="intrinsics.html#fusion.sequences.intrinsics.header">Header</a>
|
||
</h4>
|
||
<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">sequence</span><span class="special">/</span><span class="identifier">intrinsic</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||
</pre>
|
||
<div class="footnotes">
|
||
<br><hr width="100" align="left">
|
||
<div class="footnote"><p><sup>[<a name="ftn.id1003590" href="#id1003590">5</a>] </sup>
|
||
In practice, many of intrinsic functions have default implementations
|
||
that will work in majority of cases
|
||
</p></div>
|
||
</div>
|
||
</div>
|
||
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
||
<td align="left"></td>
|
||
<td align="right"><small>Copyright © 2001-2005 Joel de Guzman, Dan Marsden</small></td>
|
||
</tr></table>
|
||
<hr>
|
||
<div class="spirit-nav">
|
||
<a accesskey="p" href="adapted/boost__variant.html"><img src="../../images/prev.png" alt="Prev"></a><a accesskey="u" href="../sequences.html"><img src="../../images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../images/home.png" alt="Home"></a><a accesskey="n" href="intrinsics/functions.html"><img src="../../images/next.png" alt="Next"></a>
|
||
</div>
|
||
</body>
|
||
</html>
|