From a88312e955695eae0d62b59c46faf0846550a119 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorsten=20J=C3=B8rgen=20Ottosen?=
Date: Thu, 16 Sep 2004 18:56:31 +0000
Subject: [PATCH] *** empty log message ***
[SVN r25156]
---
doc/boost_range.html | 59 ++++++++++++++++++++++++++++++++++++++++++--
doc/headers.html | 20 ++++++++++++---
2 files changed, 73 insertions(+), 6 deletions(-)
diff --git a/doc/boost_range.html b/doc/boost_range.html
index 8a6bd93..56742ba 100644
--- a/doc/boost_range.html
+++ b/doc/boost_range.html
@@ -61,7 +61,7 @@
- Please also see Range concepts for more details.
+ Please also see Range concepts for more details.
Synopsis
@@ -179,8 +179,29 @@ class=identifier>range_reverse_result_iterator;
rend( const T& c );
+
+ template< class T >
+ typename range_const_iterator<T>::type
+ const_begin( const T& r );
+
+ template< class T >
+ typename range_const_iterator<T>::type
+ const_end( const T& r );
+
+ template< class T >
+ typename range_const_reverse_iterator<T>::type
+ const_rbegin( const T& r );
+
+ template< class T >
+ typename range_const_reverse_iterator<T>::type
+ const_rend( const T& r );
+
}
+
+
Semantics
@@ -390,9 +411,43 @@ class=identifier>T& range_reverse_result_iterator<X>::type( begin(x) )
same as begin(x) |
+
+
+ const_begin(x) |
+ range_const_iterator<X>::type |
+ range_const_iterator<X>::type( begin(x) )
+ | same as begin(x) |
+
+
+
+ const_end(x) |
+ range_const_iterator<X>::type |
+ range_const_iterator<X>::type( end(x) )
+ | same as end(x) |
+
+
+
+ const_rbegin(x) |
+ range_const_reverse_iterator<X>::type |
+ range_const_reverse_iterator<X>::type( rbegin(x) )
+ | same as rbegin(x) |
+
+
+
+ const_rend(x) |
+ range_const_reverse_iterator<X>::type |
+ range_const_reverse_iterator<X>::type( rend(x) )
+ | same as rend(x) |
+
+
+
+ The special const
functions are not part of any Range concept,
+ but are very useful when you want to document clearly that your code is
+ read-only.
+
Extending the library
diff --git a/doc/headers.html b/doc/headers.html
index ad47f95..c073adc 100755
--- a/doc/headers.html
+++ b/doc/headers.html
@@ -90,12 +90,18 @@
<boost/range/begin.hpp> |
- begin |
+
+ begin and
+ const_begin
+ |
Single Pass Range |
<boost/range/end.hpp> |
- end |
+
+ end and
+ const_end
+ |
Single Pass Range |
@@ -110,12 +116,18 @@
<boost/range/rbegin.hpp> |
- rbegin |
+
+ rbegin and
+ const_rbegin
+ |
Bidirectional Range |
<boost/range/rend.hpp> |
- rend |
+
+ rend and
+ const_rend
+ |
Bidirectional Range |