2010-03-28 16:08:35 +00:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=US-ASCII" >
< title > Chapter  1.  Range 2.0</ title >
< link rel = "stylesheet" href = "../../../../doc/html/boostbook.css" type = "text/css" >
2010-04-08 19:09:34 +00:00
< meta name = "generator" content = "DocBook XSL Stylesheets V1.75.1" >
2010-03-28 16:08:35 +00:00
< link rel = "home" href = "index.html" title = "Chapter 1. Range 2.0" >
< link rel = "next" href = "range/introduction.html" title = "Introduction" >
</ 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 = "n" href = "range/introduction.html" >< img src = "../../../../doc/html/images/next.png" alt = "Next" ></ a ></ div >
< div class = "chapter" title = "Chapter 1. Range 2.0" >
< div class = "titlepage" >< div >
< div >< h2 class = "title" >
< a name = "range" ></ a > Chapter  1.  Range 2.0</ h2 ></ div >
< div >< div class = "author" >< h3 class = "author" >
< span class = "firstname" > Thorsten</ span > < span class = "surname" > Ottosen</ span >
</ h3 ></ div ></ div >
< div >< div class = "author" >< h3 class = "author" >
< span class = "firstname" > Neil</ span > < span class = "surname" > Groves</ span >
</ h3 ></ div ></ div >
< div >< p class = "copyright" > Copyright © 2003 -2010 Thorsten Ottosen, Neil Groves</ p ></ div >
< div >< div class = "legalnotice" title = "Legal Notice" >
2010-04-28 19:27:44 +00:00
< a name = "id3045417" ></ a >< p >
2010-03-28 16:08:35 +00:00
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 ></ div >
</ div ></ div >
< div class = "toc" >
< p >< b > Table of Contents</ b ></ p >
< dl >
< dt >< span class = "section" >< a href = "range/introduction.html" > Introduction</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts.html" > Range Concepts</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/concepts/overview.html" > Overview</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts/single_pass_range.html" > Single Pass Range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts/forward_range.html" > Forward Range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts/bidirectional_range.html" > Bidirectional Range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts/random_access_range.html" > Random Access Range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/concepts/concept_checking.html" > Concept Checking</ a ></ span ></ dt >
</ dl ></ dd >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference.html" > Reference</ a ></ span ></ dt >
2010-03-28 16:08:35 +00:00
< dd >< dl >
< dt >< span class = "section" >< a href = "range/reference/overview.html" > Overview</ a ></ span ></ dt >
2010-04-28 18:03:26 +00:00
< dt >< span class = "section" >< a href = "range/reference/concept_implementation.html" > Range concept
implementation</ a ></ span ></ dt >
2010-03-28 16:08:35 +00:00
< dd >< dl >
2010-04-28 18:03:26 +00:00
< dt >< span class = "section" >< a href = "range/reference/concept_implementation/synopsis.html" > Synopsis</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/concept_implementation/semantics.html" > Semantics</ a ></ span ></ dt >
2010-03-28 16:08:35 +00:00
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/reference/adaptors.html" > Range Adaptors</ a ></ span ></ dt >
< dd >< dl >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference/adaptors/introduction.html" > Introduction
2010-03-28 16:08:35 +00:00
and motivation</ a ></ span ></ dt >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference/adaptors/general_requirements.html" > General
Requirements</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/adaptors/reference.html" > Reference</ a ></ span ></ dt >
2010-03-28 16:08:35 +00:00
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/reference/algorithms.html" > Range Algorithm</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/reference/algorithms/range_algorithm_introduction.html" >
Introduction and motivation</ a ></ span ></ dt >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference/algorithms/mutating.html" > Mutating algorithms</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/algorithms/non_mutating.html" > Non-mutating
2010-03-28 16:08:35 +00:00
algorithms</ a ></ span ></ dt >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference/algorithms/set.html" > Set algorithms</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/algorithms/heap.html" > Heap algorithms</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/algorithms/permutation.html" > Permutation
algorithms</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/algorithms/new.html" > New algorithms</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/algorithms/numeric.html" > Numeric algorithms</ a ></ span ></ dt >
2010-03-28 16:08:35 +00:00
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/reference/ranges.html" > Provided Ranges</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/reference/ranges/counting_range.html" > counting_range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/ranges/istream_range.html" > istream_range</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/ranges/irange.html" > irange</ a ></ span ></ dt >
</ dl ></ dd >
2010-04-28 16:09:03 +00:00
< dt >< span class = "section" >< a href = "range/reference/utilities.html" > Utilities</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/reference/utilities/iterator_range.html" > Class < code class = "computeroutput" >< span class = "identifier" > iterator_range</ span ></ code ></ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/utilities/sub_range.html" > Class < code class = "computeroutput" >< span class = "identifier" > sub_range</ span ></ code ></ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/utilities/join.html" > Function join</ a ></ span ></ dt >
</ dl ></ dd >
2010-03-28 16:08:35 +00:00
< dt >< span class = "section" >< a href = "range/reference/extending.html" > Extending the library</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/reference/extending/method_1.html" > Method 1: provide
member functions and nested types</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/extending/method_2.html" > Method 2: provide
free-standing functions and specialize metafunctions</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/reference/extending/method_3.html" > Method 3: provide
range adaptor implementations</ a ></ span ></ dt >
</ dl ></ dd >
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/style_guide.html" > Terminology and style guidelines</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/library_headers.html" > Library Headers</ a ></ span ></ dt >
2010-04-28 16:09:03 +00:00
< dd >< dl >
< dt >< span class = "section" >< a href = "range/library_headers/general.html" > General</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/library_headers/adaptors.html" > Adaptors</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/library_headers/algorithm.html" > Algorithm</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/library_headers/algorithm_extensions.html" > Algorithm
Extensions</ a ></ span ></ dt >
</ dl ></ dd >
2010-03-28 16:08:35 +00:00
< dt >< span class = "section" >< a href = "range/examples.html" > Examples</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/mfc_atl.html" > MFC/ATL (courtesy of Shunsuke Sogame)</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/mfc_atl/requirements.html" > Requirements</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/mfc_atl/mfc_ranges.html" > MFC Ranges</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/mfc_atl/atl_ranges.html" > ATL Ranges</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/mfc_atl/const_ranges.html" > const Ranges</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/mfc_atl/references.html" > References</ a ></ span ></ dt >
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/upgrade.html" > Upgrade version of Boost.Range</ a ></ span ></ dt >
< dd >< dl >
< dt >< span class = "section" >< a href = "range/upgrade/upgrade_from_1_42.html" > Upgrade from version
1.42</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/upgrade/upgrade_from_1_34.html" > Upgrade from version
1.34</ a ></ span ></ dt >
</ dl ></ dd >
< dt >< span class = "section" >< a href = "range/portability.html" > Portability</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/faq.html" > FAQ</ a ></ span ></ dt >
< dt >< span class = "section" >< a href = "range/history_ack.html" > History and Acknowledgement</ a ></ span ></ dt >
</ dl >
</ div >
< p >
2010-04-28 16:09:03 +00:00
Boost.Range is a collection of concepts and utilities, range-based algorithms,
as well as range adaptors that allow for efficient and expressive code.
</ p >
< p >
Using Boost.Range inplace of the standard library alternatives results in more
readable code and in many cases greater efficiency.
2010-03-28 16:08:35 +00:00
</ p >
</ div >
< table xmlns:rev = "http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width = "100%" >< tr >
2010-04-28 19:27:44 +00:00
< td align = "left" >< p >< small > Last revised: April 28, 2010 at 19:23:17 GMT</ small ></ p ></ td >
2010-03-28 16:08:35 +00:00
< td align = "right" >< div class = "copyright-footer" ></ div ></ td >
</ tr ></ table >
< hr >
< div class = "spirit-nav" >< a accesskey = "n" href = "range/introduction.html" >< img src = "../../../../doc/html/images/next.png" alt = "Next" ></ a ></ div >
</ body >
</ html >