• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>identity_view</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. Geometry">
8<link rel="up" href="../views.html" title="Views">
9<link rel="prev" href="reversible_view.html" title="reversible_view">
10<link rel="next" href="../../matrix.html" title="Reference Matrix">
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="reversible_view.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../views.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="../../matrix.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="geometry.reference.views.identity_view"></a><a class="link" href="identity_view.html" title="identity_view">identity_view</a>
28</h4></div></div></div>
29<p>
30          <a class="indexterm" name="idm45635666422432"></a>
31View on a range, not modifying anything.
32        </p>
33<h6>
34<a name="geometry.reference.views.identity_view.h0"></a>
35          <span class="phrase"><a name="geometry.reference.views.identity_view.synopsis"></a></span><a class="link" href="identity_view.html#geometry.reference.views.identity_view.synopsis">Synopsis</a>
36        </h6>
37<p>
38</p>
39<pre class="programlisting"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> <span class="identifier">Range</span><span class="special">&gt;</span>
40<span class="keyword">struct</span> <span class="identifier">identity_view</span>
41<span class="special">{</span>
42  <span class="comment">// ...</span>
43<span class="special">};</span>
44</pre>
45<p>
46        </p>
47<h6>
48<a name="geometry.reference.views.identity_view.h1"></a>
49          <span class="phrase"><a name="geometry.reference.views.identity_view.template_parameter_s_"></a></span><a class="link" href="identity_view.html#geometry.reference.views.identity_view.template_parameter_s_">Template
50          parameter(s)</a>
51        </h6>
52<div class="informaltable"><table class="table">
53<colgroup>
54<col>
55<col>
56</colgroup>
57<thead><tr>
58<th>
59                  <p>
60                    Parameter
61                  </p>
62                </th>
63<th>
64                  <p>
65                    Description
66                  </p>
67                </th>
68</tr></thead>
69<tbody><tr>
70<td>
71                  <p>
72                    typename Range
73                  </p>
74                </td>
75<td>
76                  <p>
77                    original range
78                  </p>
79                </td>
80</tr></tbody>
81</table></div>
82<h6>
83<a name="geometry.reference.views.identity_view.h2"></a>
84          <span class="phrase"><a name="geometry.reference.views.identity_view.constructor_s_"></a></span><a class="link" href="identity_view.html#geometry.reference.views.identity_view.constructor_s_">Constructor(s)</a>
85        </h6>
86<div class="informaltable"><table class="table">
87<colgroup>
88<col>
89<col>
90<col>
91</colgroup>
92<thead><tr>
93<th>
94                  <p>
95                    Function
96                  </p>
97                </th>
98<th>
99                  <p>
100                    Description
101                  </p>
102                </th>
103<th>
104                  <p>
105                    Parameters
106                  </p>
107                </th>
108</tr></thead>
109<tbody><tr>
110<td>
111                  <p>
112</p>
113<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">identity_view</span><span class="special">(</span><span class="identifier">Range</span> <span class="special">&amp;</span> <span class="identifier">r</span><span class="special">)</span></pre>
114<p>
115                  </p>
116                </td>
117<td>
118                </td>
119<td>
120                  <p>
121                    <span class="bold"><strong>Range &amp;</strong></span>: <span class="emphasis"><em>r</em></span>:
122                  </p>
123                </td>
124</tr></tbody>
125</table></div>
126<h6>
127<a name="geometry.reference.views.identity_view.h3"></a>
128          <span class="phrase"><a name="geometry.reference.views.identity_view.member_function_s_"></a></span><a class="link" href="identity_view.html#geometry.reference.views.identity_view.member_function_s_">Member
129          Function(s)</a>
130        </h6>
131<div class="informaltable"><table class="table">
132<colgroup>
133<col>
134<col>
135<col>
136<col>
137</colgroup>
138<thead><tr>
139<th>
140                  <p>
141                    Function
142                  </p>
143                </th>
144<th>
145                  <p>
146                    Description
147                  </p>
148                </th>
149<th>
150                  <p>
151                    Parameters
152                  </p>
153                </th>
154<th>
155                  <p>
156                    Returns
157                  </p>
158                </th>
159</tr></thead>
160<tbody>
161<tr>
162<td>
163                  <p>
164</p>
165<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">const_iterator</span> <span class="identifier">begin</span><span class="special">()</span></pre>
166<p>
167                  </p>
168                </td>
169<td>
170                </td>
171<td>
172                </td>
173<td>
174                </td>
175</tr>
176<tr>
177<td>
178                  <p>
179</p>
180<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">const_iterator</span> <span class="identifier">end</span><span class="special">()</span></pre>
181<p>
182                  </p>
183                </td>
184<td>
185                </td>
186<td>
187                </td>
188<td>
189                </td>
190</tr>
191<tr>
192<td>
193                  <p>
194</p>
195<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">iterator</span> <span class="identifier">begin</span><span class="special">()</span></pre>
196<p>
197                  </p>
198                </td>
199<td>
200                </td>
201<td>
202                </td>
203<td>
204                </td>
205</tr>
206<tr>
207<td>
208                  <p>
209</p>
210<pre xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="table-programlisting"><span class="identifier">iterator</span> <span class="identifier">end</span><span class="special">()</span></pre>
211<p>
212                  </p>
213                </td>
214<td>
215                </td>
216<td>
217                </td>
218<td>
219                </td>
220</tr>
221</tbody>
222</table></div>
223<h6>
224<a name="geometry.reference.views.identity_view.h4"></a>
225          <span class="phrase"><a name="geometry.reference.views.identity_view.header"></a></span><a class="link" href="identity_view.html#geometry.reference.views.identity_view.header">Header</a>
226        </h6>
227<p>
228          Either
229        </p>
230<p>
231          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
232        </p>
233<p>
234          Or
235        </p>
236<p>
237          <code class="computeroutput"><span class="preprocessor">#include</span> <span class="special">&lt;</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">geometry</span><span class="special">/</span><span class="identifier">views</span><span class="special">/</span><span class="identifier">identity_view</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">&gt;</span></code>
238        </p>
239</div>
240<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
241<td align="left"></td>
242<td align="right"><div class="copyright-footer">Copyright © 2009-2019 Barend Gehrels, Bruno Lalande, Mateusz Loskot, Adam
243      Wulkiewicz, Oracle and/or its affiliates<p>
244        Distributed under the Boost Software License, Version 1.0. (See accompanying
245        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>)
246      </p>
247</div></td>
248</tr></table>
249<hr>
250<div class="spirit-nav">
251<a accesskey="p" href="reversible_view.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../views.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="../../matrix.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
252</div>
253</body>
254</html>
255