forked from boostorg/fusion
64 lines
4.1 KiB
HTML
64 lines
4.1 KiB
HTML
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||
<title>Views</title>
|
||
<link rel="stylesheet" href="../../boostbook.css" type="text/css">
|
||
<meta name="generator" content="DocBook XSL Stylesheets V1.66.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="containers/map.html" title="map">
|
||
<link rel="next" href="views/single_view.html" title="single_view">
|
||
</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="containers/map.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="views/single_view.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.views"></a><a href="views.html" title="Views">Views</a></h3></div></div></div>
|
||
<div class="toc"><dl>
|
||
<dt><span class="section"><a href="views/single_view.html">single_view</a></span></dt>
|
||
<dt><span class="section"><a href="views/filter_view.html">filter_view</a></span></dt>
|
||
<dt><span class="section"><a href="views/iterator_range.html">iterator_range</a></span></dt>
|
||
<dt><span class="section"><a href="views/joint_view.html">joint_view</a></span></dt>
|
||
<dt><span class="section"><a href="views/zip_view.html">zip_view</a></span></dt>
|
||
<dt><span class="section"><a href="views/transform_view.html">transform_view</a></span></dt>
|
||
<dt><span class="section"><a href="views/reverse_view.html">reverse_view</a></span></dt>
|
||
</dl></div>
|
||
<p>
|
||
Views are sequences that do not actually contain data, but instead impart
|
||
an alternative presentation over the data from one or more underlying sequences.
|
||
Views are proxies. They provide an efficient yet purely functional way to
|
||
work on potentially expensive sequence operations. Views are inherently lazy.
|
||
Their elements are only computed on demand only when the elements of the
|
||
underlying sequence(s) are actually accessed. Views' lazy nature make them
|
||
very cheap to copy and be passed around by value.
|
||
</p>
|
||
<a name="fusion.sequences.views.header"></a><h4>
|
||
<a name="id490656"></a>
|
||
<a href="views.html#fusion.sequences.views.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">view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span>
|
||
</pre>
|
||
</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="containers/map.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="views/single_view.html"><img src="../../images/next.png" alt="Next"></a>
|
||
</div>
|
||
</body>
|
||
</html>
|