Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/mpl/doc/refmanual/views.html @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<!-- Copyright Aleksey Gurtovoy 2006. Distributed under the Boost -->
5<!-- Software License, Version 1.0. (See accompanying -->
6<!-- file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -->
7<head>
8<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9<meta name="generator" content="Docutils 0.3.6: http://docutils.sourceforge.net/" />
10<title>The MPL Reference Manual: Views</title>
11<link rel="stylesheet" href="../style.css" type="text/css" />
12</head>
13<body class="docframe refmanual">
14<table class="header"><tr class="header"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./set-c.html" class="navigation-link">Prev</a>&nbsp;<a href="./empty-sequence.html" class="navigation-link">Next</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./classes.html" class="navigation-link">Back</a>&nbsp;<a href="./intrinsic-metafunctions.html" class="navigation-link">Along</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./sequences.html" class="navigation-link">Up</a>&nbsp;<a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td>
15<td class="header-group page-location"><a href="../refmanual.html" class="navigation-link">Front Page</a> / <a href="./sequences.html" class="navigation-link">Sequences</a> / <a href="./views.html" class="navigation-link">Views</a></td>
16</tr></table><div class="header-separator"></div>
17<div class="section" id="views">
18<h1><a class="toc-backref" href="./sequences.html#id344" name="views">Views</a></h1>
19<a class="target" id="label-sequences-views" name="label-sequences-views"></a><p>A <em>view</em> is a sequence adaptor delivering an altered presentation of
20one or more underlying sequences. Views are lazy, meaning that their
21elements are only computed on demand. Similarly to the short-circuit
22<a class="reference" href="./logical-operations.html">logical operations</a> and <a class="refentry reference" href="./eval-if.html"><tt class="refentry literal"><span class="pre">eval_if</span></tt></a>, views make it possible to avoid
23premature errors and inefficiencies from computations whose results
24will never be used. When approached with views in mind, many
25algorithmic problems can be solved in a simpler, more conceptually
26precise, more expressive way.</p>
27<!-- modtime: November 05, 2004 05:16:05 +0000 -->
28<!-- Sequences/Views//empty_sequence -->
29<ul class="toc simple" id="outline">
30<li><a class="reference" href="./empty-sequence.html" id="id345" name="id345">empty_sequence</a></li>
31<li><a class="reference" href="./filter-view.html" id="id346" name="id346">filter_view</a></li>
32<li><a class="reference" href="./iterator-range.html" id="id347" name="id347">iterator_range</a></li>
33<li><a class="reference" href="./joint-view.html" id="id348" name="id348">joint_view</a></li>
34<li><a class="reference" href="./single-view.html" id="id349" name="id349">single_view</a></li>
35<li><a class="reference" href="./transform-view.html" id="id350" name="id350">transform_view</a></li>
36<li><a class="reference" href="./zip-view.html" id="id351" name="id351">zip_view</a></li>
37</ul>
38</div>
39
40<div class="footer-separator"></div>
41<table class="footer"><tr class="footer"><td class="header-group navigation-bar"><span class="navigation-group"><a href="./set-c.html" class="navigation-link">Prev</a>&nbsp;<a href="./empty-sequence.html" class="navigation-link">Next</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./classes.html" class="navigation-link">Back</a>&nbsp;<a href="./intrinsic-metafunctions.html" class="navigation-link">Along</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./sequences.html" class="navigation-link">Up</a>&nbsp;<a href="../refmanual.html" class="navigation-link">Home</a></span><span class="navigation-group-separator">&nbsp;|&nbsp;</span><span class="navigation-group"><a href="./refmanual_toc.html" class="navigation-link">Full TOC</a></span></td>
42</tr></table></body>
43</html>
Note: See TracBrowser for help on using the repository browser.