• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>Intrinsic</title>
5<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../index.html" title="Chapter 1. Fusion 2.2">
8<link rel="up" href="../sequence.html" title="Sequence">
9<link rel="prev" href="concepts/unbounded_sequence.html" title="Unbounded Sequence">
10<link rel="next" href="intrinsic/functions.html" title="Functions">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="concepts/unbounded_sequence.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../sequence.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="intrinsic/functions.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="fusion.sequence.intrinsic"></a><a class="link" href="intrinsic.html" title="Intrinsic">Intrinsic</a>
28</h3></div></div></div>
29<div class="toc"><dl class="toc">
30<dt><span class="section"><a href="intrinsic/functions.html">Functions</a></span></dt>
31<dt><span class="section"><a href="intrinsic/metafunctions.html">Metafunctions</a></span></dt>
32</dl></div>
33<p>
34        Intrinsic form the essential interface of every Fusion <a class="link" href="../sequence.html" title="Sequence">Sequence</a>.
35        <a href="http://en.wikipedia.org/wiki/Standard_Template_Library" target="_top">STL</a>
36        counterparts of these functions are usually implemented as member functions.
37        Intrinsic functions, unlike <a class="link" href="../algorithm.html" title="Algorithm">Algorithms</a>,
38        are not generic across the full <a class="link" href="../sequence.html" title="Sequence">Sequence</a>
39        repertoire. They need to be implemented for each Fusion <a class="link" href="../sequence.html" title="Sequence">Sequence</a><a href="#ftn.fusion.sequence.intrinsic.f0" class="footnote" name="fusion.sequence.intrinsic.f0"><sup class="footnote">[6]</sup></a>.
40      </p>
41<h5>
42<a name="fusion.sequence.intrinsic.h0"></a>
43        <span class="phrase"><a name="fusion.sequence.intrinsic.header"></a></span><a class="link" href="intrinsic.html#fusion.sequence.intrinsic.header">Header</a>
44      </h5>
45<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>
46<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>
47</pre>
48<div class="footnotes">
49<br><hr style="width:100; text-align:left;margin-left: 0">
50<div id="ftn.fusion.sequence.intrinsic.f0" class="footnote"><p><a href="#fusion.sequence.intrinsic.f0" class="para"><sup class="para">[6] </sup></a>
51          In practice, many of intrinsic functions have default implementations that
52          will work in majority of cases
53        </p></div>
54</div>
55</div>
56<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
57<td align="left"></td>
58<td align="right"><div class="copyright-footer">Copyright © 2001-2006, 2011, 2012 Joel de Guzman,
59      Dan Marsden, Tobias Schwinger<p>
60        Distributed under the Boost Software License, Version 1.0. (See accompanying
61        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
62      </p>
63</div></td>
64</tr></table>
65<hr>
66<div class="spirit-nav">
67<a accesskey="p" href="concepts/unbounded_sequence.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../sequence.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="intrinsic/functions.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
68</div>
69</body>
70</html>
71