forked from boostorg/range
91 lines
4.6 KiB
HTML
91 lines
4.6 KiB
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<title>History and Acknowledgement</title>
|
|
<link rel="stylesheet" href="../../../../../doc/html/boostbook.css" type="text/css">
|
|
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
|
|
<link rel="home" href="../index.html" title="Chapter 1. Range 2.0">
|
|
<link rel="up" href="../index.html" title="Chapter 1. Range 2.0">
|
|
<link rel="prev" href="faq.html" title="FAQ">
|
|
</head>
|
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
|
<table cellpadding="2" width="100%"><tr>
|
|
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
|
|
<td align="center"><a href="../../../../../index.html">Home</a></td>
|
|
<td align="center"><a href="../../../../libraries.htm">Libraries</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
|
|
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
|
|
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="faq.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a>
|
|
</div>
|
|
<div class="section" title="History and Acknowledgement">
|
|
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
|
|
<a name="range.history_ack"></a><a class="link" href="history_ack.html" title="History and Acknowledgement"> History and Acknowledgement</a>
|
|
</h2></div></div></div>
|
|
<p>
|
|
The library have been under way for a long time. Dietmar Kühl originally intended
|
|
to submit an <code class="computeroutput"><span class="identifier">array_traits</span></code> class
|
|
template which had most of the functionality present now, but only for arrays
|
|
and standard containers.
|
|
</p>
|
|
<p>
|
|
Meanwhile work on algorithms for containers in various contexts showed the
|
|
need for handling pairs of iterators, and string libraries needed special treatment
|
|
of character arrays. In the end it made sense to formalize the minimal requirements
|
|
of these similar concepts. And the results are the Range concepts found in
|
|
this library.
|
|
</p>
|
|
<p>
|
|
The term Range was adopted because of paragraph 24.1/7 from the C++ standard:
|
|
</p>
|
|
<p>
|
|
Most of the library's algorithmic templates that operate on data structures
|
|
have interfaces that use ranges. A range is a pair of iterators that designate
|
|
the beginning and end of the computation. A range [i, i) is an empty range;
|
|
in general, a range [i, j) refers to the elements in the data structure starting
|
|
with the one pointed to by i and up to but not including the one pointed to
|
|
by j. Range [i, j) is valid if and only if j is reachable from i. The result
|
|
of the application of functions in the library to invalid ranges is undefined.
|
|
</p>
|
|
<p>
|
|
Special thanks goes to
|
|
</p>
|
|
<div class="itemizedlist"><ul class="itemizedlist" type="disc">
|
|
<li class="listitem">
|
|
Pavol Droba for help with documentation and implementation
|
|
</li>
|
|
<li class="listitem">
|
|
Pavel Vozenilek for help with porting the library
|
|
</li>
|
|
<li class="listitem">
|
|
Jonathan Turkanis and John Torjo for help with documentation
|
|
</li>
|
|
<li class="listitem">
|
|
Hartmut Kaiser for being review manager
|
|
</li>
|
|
<li class="listitem">
|
|
Jonathan Turkanis for porting the lib (as far sa possible) to vc6 and vc7.
|
|
</li>
|
|
</ul></div>
|
|
<p>
|
|
The concept checks and their documentation was provided by Daniel Walker.
|
|
</p>
|
|
</div>
|
|
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
|
|
<td align="left"></td>
|
|
<td align="right"><div class="copyright-footer">Copyright © 2003 -2010 Thorsten Ottosen, Neil Groves<p>
|
|
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
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>)
|
|
</p>
|
|
</div></td>
|
|
</tr></table>
|
|
<hr>
|
|
<div class="spirit-nav">
|
|
<a accesskey="p" href="faq.html"><img src="../../../../../doc/html/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/html/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/html/images/home.png" alt="Home"></a>
|
|
</div>
|
|
</body>
|
|
</html>
|