2004-08-10 11:53:33 +00:00
|
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
|
|
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
|
|
|
<title>Boost.Range Examples </title>
|
|
|
|
<link rel="stylesheet" href="style.css" type="text/css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<table border="0" >
|
|
|
|
<tr>
|
2004-10-05 15:45:52 +00:00
|
|
|
<td ><img src="../../../boost.png" border="0" ></td>
|
2004-08-10 11:53:33 +00:00
|
|
|
<td ><h1 align="center">Boost.Range </h1></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<h2 >Examples</h2><a name="Examples" ></a>
|
|
|
|
<p >
|
|
|
|
Some examples are given in the accompanying test files:
|
|
|
|
</p>
|
|
|
|
<ul >
|
|
|
|
<li >
|
|
|
|
<a href="../test/string.cpp" target="_self" ><code >string.cpp</code></a>
|
|
|
|
</li>
|
|
|
|
shows how to implement a container version of <code >std::find()</code> that
|
|
|
|
works with <code >char[],wchar_t[],char*,wchar_t*.</code>
|
|
|
|
<li >
|
|
|
|
<a href="../test/algorithm_example.cpp" target="_self" ><code >algorithm_example.cpp</code></a>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
shows the replace example from the introduction.
|
|
|
|
|
|
|
|
<li> <a href="../test/iterator_range.cpp">iterator_range.cpp</a>
|
|
|
|
<li> <a href="../test/sub_range.cpp">sub_range.cpp</a>
|
|
|
|
<li> <a href="../test/iterator_pair.cpp">iterator_pair.cpp</a>
|
|
|
|
<li> <a href="../test/reversible_range.cpp">reversible_range.cpp</a>
|
|
|
|
<li> <a href="../test/std_container.cpp">std_container.cpp</a>
|
|
|
|
<li> <a href="../test/array.cpp">array.cpp</a>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
<p>
|
|
|
|
(C) Copyright Thorsten Ottosen 2003-2004
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|