2010-03-28 16:08:35 +00:00
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html; charset=US-ASCII" >
< title > Forward Range< / title >
< link rel = "stylesheet" href = "../../../../../../doc/html/boostbook.css" type = "text/css" >
2010-04-05 08:51:43 +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 = "up" href = "../concepts.html" title = "Range Concepts" >
< link rel = "prev" href = "single_pass_range.html" title = "Single Pass Range" >
< link rel = "next" href = "bidirectional_range.html" title = "Bidirectional Range" >
< / 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 = "single_pass_range.html" > < img src = "../../../../../../doc/html/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../concepts.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 > < a accesskey = "n" href = "bidirectional_range.html" > < img src = "../../../../../../doc/html/images/next.png" alt = "Next" > < / a >
< / div >
< div class = "section" title = "Forward Range" >
< div class = "titlepage" > < div > < div > < h3 class = "title" >
< a name = "range.concepts.forward_range" > < / a > < a class = "link" href = "forward_range.html" title = "Forward Range" > Forward Range< / a >
< / h3 > < / div > < / div > < / div >
< a name = "range.concepts.forward_range.notation" > < / a > < h5 >
2010-04-05 08:51:43 +00:00
< a name = "id2914944" > < / a >
2010-03-28 16:08:35 +00:00
< a class = "link" href = "forward_range.html#range.concepts.forward_range.notation" > Notation< / a >
< / h5 >
< div class = "informaltable" > < table class = "table" >
< colgroup >
< col >
< col >
< / colgroup >
< thead > < tr > < / tr > < / thead >
< tbody >
< tr >
< td >
< p >
< code class = "computeroutput" > < span class = "identifier" > X< / span > < / code >
< / p >
< / td >
< td >
< p >
A type that is a model of < a class = "link" href = "forward_range.html" title = "Forward Range" > Forward
Range< / a > .
< / p >
< / td >
< / tr >
< tr >
< td >
< p >
< code class = "computeroutput" > < span class = "identifier" > a< / span > < / code >
< / p >
< / td >
< td >
< p >
Object of type X.
< / p >
< / td >
< / tr >
< / tbody >
< / table > < / div >
< a name = "range.concepts.forward_range.description" > < / a > < h5 >
2010-04-05 08:51:43 +00:00
< a name = "id2915040" > < / a >
2010-03-28 16:08:35 +00:00
< a class = "link" href = "forward_range.html#range.concepts.forward_range.description" > Description< / a >
< / h5 >
< p >
A range < code class = "computeroutput" > < span class = "identifier" > X< / span > < / code > where < code class = "computeroutput" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > range_iterator< / span > < span class = "special" > < < / span > < span class = "identifier" > X< / span > < span class = "special" > > ::< / span > < span class = "identifier" > type< / span > < / code > is a model of < a href = "../../../../libs/iterator/doc/new-iter-concepts.html#forward-traversal-iterators-lib-forward-traversal-iterators" target = "_top" > Forward
Traversal Iterator< / a > .
< / p >
< a name = "range.concepts.forward_range.refinement_of" > < / a > < h5 >
2010-04-05 08:51:43 +00:00
< a name = "id2915112" > < / a >
2010-03-28 16:08:35 +00:00
< a class = "link" href = "forward_range.html#range.concepts.forward_range.refinement_of" > Refinement of< / a >
< / h5 >
< p >
< a class = "link" href = "single_pass_range.html" title = "Single Pass Range" > Single Pass Range< / a >
< / p >
< a name = "range.concepts.forward_range.associated_types" > < / a > < h5 >
2010-04-05 08:51:43 +00:00
< a name = "id2915141" > < / a >
2010-03-28 16:08:35 +00:00
< a class = "link" href = "forward_range.html#range.concepts.forward_range.associated_types" > Associated
types< / a >
< / h5 >
< div class = "informaltable" > < table class = "table" >
< colgroup >
< col >
< col >
< col >
< / colgroup >
< thead > < tr > < / tr > < / thead >
< tbody >
< tr >
< td >
< p >
Distance type
< / p >
< / td >
< td >
< p >
< code class = "computeroutput" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > range_difference< / span > < span class = "special" > < < / span > < span class = "identifier" > X< / span > < span class = "special" > > ::< / span > < span class = "identifier" > type< / span > < / code >
< / p >
< / td >
< td >
< p >
A signed integral type used to represent the distance between two
of the Range's iterators. This type must be the same as the iterator's
distance type.
< / p >
< / td >
< / tr >
< tr >
< td >
< p >
Size type
< / p >
< / td >
< td >
< p >
< code class = "computeroutput" > < span class = "identifier" > boost< / span > < span class = "special" > ::< / span > < span class = "identifier" > range_size< / span > < span class = "special" > < < / span > < span class = "identifier" > X< / span > < span class = "special" > > ::< / span > < span class = "identifier" > type< / span > < / code >
< / p >
< / td >
< td >
< p >
An unsigned integral type that can represent any nonnegative value
of the Range's distance type.
< / p >
< / td >
< / tr >
< / tbody >
< / table > < / div >
< a name = "range.concepts.forward_range.see_also" > < / a > < h5 >
2010-04-05 08:51:43 +00:00
< a name = "id2915298" > < / a >
2010-03-28 16:08:35 +00:00
< a class = "link" href = "forward_range.html#range.concepts.forward_range.see_also" > See also< / a >
< / h5 >
< p >
< a class = "link" href = "../reference/semantics/metafunctions.html" title = "Metafunctions" > Implementation of
metafunctions< / a >
< / p >
< p >
< a class = "link" href = "../reference/semantics/functions.html" title = "Functions" > Implementation of functions< / a >
< / 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 = "single_pass_range.html" > < img src = "../../../../../../doc/html/images/prev.png" alt = "Prev" > < / a > < a accesskey = "u" href = "../concepts.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 > < a accesskey = "n" href = "bidirectional_range.html" > < img src = "../../../../../../doc/html/images/next.png" alt = "Next" > < / a >
< / div >
< / body >
< / html >