Compare commits

..

54 Commits

Author SHA1 Message Date
Jonathan Turkanis
3c1bbeed1e Branch for Iostreams development
[SVN r42144]
2007-12-18 20:08:11 +00:00
Thorsten Jørgen Ottosen
14a9a1906b Ticket #1477
[SVN r41638]
2007-12-03 09:08:02 +00:00
Thorsten Jørgen Ottosen
f65c137e73 missing include
[SVN r41636]
2007-12-03 09:00:23 +00:00
Thorsten Jørgen Ottosen
8085605217 fixed a serious oversigt
[SVN r41457]
2007-11-29 09:19:24 +00:00
Thorsten Jørgen Ottosen
0eb365edbe macro patch
[SVN r41183]
2007-11-17 21:24:16 +00:00
Thorsten Jørgen Ottosen
2e0d7eab4a removed some warnings
[SVN r41181]
2007-11-17 21:21:53 +00:00
Thorsten Jørgen Ottosen
637dc618d1 iostream macro patch
[SVN r41180]
2007-11-17 21:19:13 +00:00
Thorsten Jørgen Ottosen
dd1459f221 works after local test with vc8
[SVN r41177]
2007-11-17 20:44:29 +00:00
Thorsten Jørgen Ottosen
ba96d075b2 last updates
[SVN r41176]
2007-11-17 20:22:20 +00:00
Thorsten Jørgen Ottosen
a2f3a45214 minor update of comments
[SVN r41175]
2007-11-17 20:22:05 +00:00
Thorsten Jørgen Ottosen
6ac0cfe09c improved reference
[SVN r40968]
2007-11-09 15:15:28 +00:00
Thorsten Jørgen Ottosen
7b3857a9a8 minor tweaks to avoid warnings ... extension mechanism updated to follow new protocol
[SVN r40966]
2007-11-09 13:31:43 +00:00
Thorsten Jørgen Ottosen
2605b9ee45 update of new concepts, and replacement of range_size<T>::type with range_difference<T>::type throughut the library
[SVN r40965]
2007-11-09 13:30:57 +00:00
Thorsten Jørgen Ottosen
1509d5603b minor editorial issue
[SVN r40964]
2007-11-09 13:13:06 +00:00
Thorsten Jørgen Ottosen
93deddde63 major update wrt. new range concepts
[SVN r40962]
2007-11-09 10:27:42 +00:00
Thorsten Jørgen Ottosen
68a63cab85 added deprecated headers again for backward compatibility sake
[SVN r40629]
2007-10-31 21:48:11 +00:00
Thorsten Jørgen Ottosen
06c54ccd48 current version gave problem in regression ... to be updated later
[SVN r40612]
2007-10-30 19:47:40 +00:00
Thorsten Jørgen Ottosen
2e298b5e60 adds test for inclusion of concept header
[SVN r40521]
2007-10-28 10:11:54 +00:00
Thorsten Jørgen Ottosen
00e70244a5 fixes broken one from trunk ... still not finished
[SVN r40520]
2007-10-28 10:11:10 +00:00
Thorsten Jørgen Ottosen
3f98d69c94 added mfc/atl link
[SVN r40514]
2007-10-27 22:00:47 +00:00
Thorsten Jørgen Ottosen
4767db522b first update ... more to come
[SVN r40508]
2007-10-27 15:58:22 +00:00
Thorsten Jørgen Ottosen
f6e555dda3 updated example to new syntax
[SVN r40507]
2007-10-27 15:57:56 +00:00
Thorsten Jørgen Ottosen
01826978d6 cleaned up deprecated headers
[SVN r40506]
2007-10-27 15:57:20 +00:00
Thorsten Jørgen Ottosen
336c12b60f removed deprecated mfc stuff
[SVN r40425]
2007-10-24 15:53:54 +00:00
Thorsten Jørgen Ottosen
82768af3d2 roll-back of ADL names
[SVN r40423]
2007-10-24 15:19:16 +00:00
Thorsten Jørgen Ottosen
8984de1c74 roll back of ADL names
[SVN r40422]
2007-10-24 15:18:22 +00:00
Thorsten Jørgen Ottosen
4db083cd6d Shunsuke Sogame's MFC/ATL docs and tests
[SVN r40381]
2007-10-23 20:28:52 +00:00
Thorsten Jørgen Ottosen
f4cde208f2 Adding Shunsuke Sogame fantastic MFC/ATL mappings
[SVN r40379]
2007-10-23 20:23:05 +00:00
Thorsten Jørgen Ottosen
d130dff5ec cleanup
[SVN r40378]
2007-10-23 20:08:35 +00:00
Thorsten Jørgen Ottosen
aa9158b199 applied Ticket #1309 (new Patches)
[SVN r40377]
2007-10-23 19:56:39 +00:00
Thorsten Jørgen Ottosen
bbd9fdb7bd displabed some warnings and applied Ticket #1284: sub_range_copy.patch
[SVN r40376]
2007-10-23 19:50:59 +00:00
Thorsten Jørgen Ottosen
17514e1d44 added operator() to allow random access index with transform iterators
[SVN r40375]
2007-10-23 19:34:38 +00:00
Thorsten Jørgen Ottosen
d759c23552 added test for operator()
[SVN r40374]
2007-10-23 19:34:06 +00:00
Thorsten Jørgen Ottosen
cf9ad808a6 new fancy quickbook documentaion
[SVN r40373]
2007-10-23 19:12:19 +00:00
Thorsten Jørgen Ottosen
028bff0c22 changed ADL functions back the names of 1.34 ... these names have been in use for too long ... let's not break code that depends on them
[SVN r40372]
2007-10-23 19:07:38 +00:00
Thorsten Jørgen Ottosen
33a8016af3 change names of ADL functions back to 1.34 names ... the old names have been in use for too long so let's not break code that depends on them
[SVN r40371]
2007-10-23 19:06:39 +00:00
Thorsten Jørgen Ottosen
24466ae189 applied patch from Ticket #1302 (new Patches) to handle char arrays correctly
[SVN r40370]
2007-10-23 18:59:11 +00:00
Thorsten Jørgen Ottosen
c8ffe55ae5 added test for char array with nested null in response to Ticket #471
[SVN r40367]
2007-10-23 18:36:03 +00:00
Nicola Musatti
a862a573df Applied patch from Ticket #1320
[SVN r40020]
2007-10-14 17:53:15 +00:00
Markus Schöpflin
0b0dfc0e06 Added missing boost namespace reference to as_literal.
[SVN r39683]
2007-10-04 11:51:51 +00:00
Caleb Epstein
e0a76af0f9 Quiet unused argument warnings from gcc.
[SVN r39274]
2007-09-14 17:18:02 +00:00
Vladimir Prus
51650f1aa2 Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
Thorsten Jørgen Ottosen
aeb47120e3 fixed typo
[SVN r36684]
2007-01-10 18:57:20 +00:00
Thorsten Jørgen Ottosen
22b7b4ec8e commented out old array code
[SVN r36683]
2007-01-10 18:50:13 +00:00
Vladimir Prus
a933622ae1 Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.

Patch from Juergen Hunold.


[SVN r35989]
2006-11-10 19:09:56 +00:00
Thorsten Jørgen Ottosen
f49be0b382 *** empty log message ***
[SVN r35717]
2006-10-24 10:37:46 +00:00
Daniel James
007117cefb Merge in recent fixes for inspect errors.
[SVN r34973]
2006-08-27 10:40:36 +00:00
Thorsten Jørgen Ottosen
73bb3d899a *** empty log message ***
[SVN r34034]
2006-05-19 18:01:02 +00:00
Thorsten Jørgen Ottosen
4a8987865e dos2unix on some files
[SVN r34025]
2006-05-19 10:30:02 +00:00
Thorsten Jørgen Ottosen
f885495565 *** empty log message ***
[SVN r34015]
2006-05-18 21:27:29 +00:00
Thorsten Jørgen Ottosen
dc34cd6079 *** empty log message ***
[SVN r34014]
2006-05-18 21:11:55 +00:00
Thorsten Jørgen Ottosen
5850d7ce3e new traits and functions for v2
[SVN r34013]
2006-05-18 20:53:21 +00:00
Thorsten Jørgen Ottosen
554f832234 upgrade to v2
[SVN r34012]
2006-05-18 20:52:17 +00:00
Thorsten Jørgen Ottosen
dc96b440be v2 upgrade
[SVN r34011]
2006-05-18 19:17:04 +00:00
82 changed files with 57 additions and 130 deletions

View File

@@ -1,13 +1,3 @@
#// Boost.Range library
#//
#// Copyright Thorsten Ottosen 2003-2008. Use, modification and
#// distribution is subject to the Boost Software License, Version
#// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
#// http://www.boost.org/LICENSE_1_0.txt)
#//
#// For more information, see http://www.boost.org/libs/range/
#//
use-project boost : $(BOOST_ROOT) ;

View File

@@ -493,7 +493,7 @@ class=identifier>T</span><span class=special>&amp; </span><span class=identifier
</p>
<p>
<code>as_literal()</code> can be used <i>internally</i> in string
algorithm librararies such that arrays of characters are
algorithm librararies to such that arrays of characters are
handled correctly.
</p>
<p>
@@ -745,13 +745,7 @@ class=identifier>T</span><span class=special>&amp; </span><span class=identifier
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2007
</p>
<br>
<br>

View File

@@ -1,13 +1,3 @@
// Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2008. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/libs/range/
//
#include <boost/range.hpp>
#include <iterator> // for std::iterator_traits, std::distance()

9
doc/examples.html Normal file → Executable file
View File

@@ -41,16 +41,9 @@
<li> <a href="../test/array.cpp">array.cpp</a>
</ul>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2004
</p>
<br>

11
doc/faq.html Normal file → Executable file
View File

@@ -114,16 +114,9 @@ Cool indeed!
</ol>
<hr>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2004
</p>
<br>

9
doc/headers.html Normal file → Executable file
View File

@@ -173,14 +173,7 @@
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2007
</p>
<br>

17
doc/history_ack.html Normal file → Executable file
View File

@@ -18,10 +18,10 @@
<h2 >History and Acknowledgement</h2><a name="History" ></a>
<p >
The library was under way for a long time. Dietmar Kühl originally intended
to submit an <code>array_traits</code> class template which had most of
the functionality present now, but only for arrays and standard containers.
I believe this was back in 2001 or 2002.
The library have been under way for a long time. Dietmar Kühl originally
intended to submit an <code >array_traits</code> class template which
had most of the functionality present now, but only for arrays and standard
containers.
</p>
<p>
@@ -61,14 +61,7 @@ C++ standard: <blockquote>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2006
</p>
<br>

12
doc/intro.html Normal file → Executable file
View File

@@ -63,7 +63,8 @@ free-standing functions so syntactic and/or semantic differences can be removed.
</ul>
</p>
<p > Below is given a small example (the complete example can be found <a
<p >
Below are given a small example (the complete example can be found <a
href="../test/algorithm_example.cpp" target="_self" >here</a>): <blockquote>
<pre >
<span class=comment>
@@ -135,14 +136,7 @@ Notice that we have to
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
(C) Copyright Thorsten Ottosen 2003-2007
</p>
<br>

13
doc/portability.html Normal file → Executable file
View File

@@ -35,7 +35,7 @@ href="http://boost.sourceforge.net/regression-logs/developer/range.html">here</a
</p>
<p >
Notice also that some compilers cannot do function template ordering properly.
In that case one must rely on <a
In that case one must rely of <a
href="boost_range.html#range_iterator"><code >range_iterator</code></a>
and a single function definition instead of overloaded versions for const and
non-const arguments.
@@ -73,18 +73,11 @@ href="http://boost.sourceforge.net/regression-logs/developer/range.html">here</a
</ol>
</p>
<hr>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
(C) Copyright Thorsten Ottosen 2003-2004
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
</p>>
<br>
<br>
<br>

36
doc/range.html Normal file → Executable file
View File

@@ -352,16 +352,34 @@ href="../../iterator/doc/new-iter-concepts.html#random-access-traversal-iterator
<p> <a href="../../concept_check/concept_check.htm">Boost Concept Check library</a></p>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
</p>
<!--
<h3>Notes</h3>
<P>
<A name="1">[1]</A>
The reference type does not have to be a real C++ reference. The requirements of
the reference type is that it <i>behaves</i> like a real reference. Hence the
reference type must be convertible to the value_type and assignment through
<br>
<br>
<HR>
<br>
-->
<TABLE>
<TR valign="top">
<TD nowrap>Copyright &copy 2000</TD>
<TD><A HREF=http://www.boost.org/people/jeremy_siek.htm>Jeremy Siek</A>
</TR>
<tr >
<TD nowrap>Copyright &copy 2004-2007</TD>
<TD>Thorsten Ottosen.
</TABLE>
<br>
<br>
<br>

11
doc/style.css Normal file → Executable file
View File

@@ -1,14 +1,3 @@
/*
// Boost.Range library
//
// Copyright Thorsten Ottosen 2003-2008. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// For more information, see http://www.boost.org/libs/range/
//
*/
pre{
BORDER-RIGHT: gray 1pt solid;
PADDING-RIGHT: 2pt;

8
doc/style.html Normal file → Executable file
View File

@@ -104,15 +104,9 @@
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
(C) Copyright Thorsten Ottosen 2003-2004
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
</p>
<br>
<br>
<br>

View File

@@ -33,12 +33,11 @@
</ul>
</ul>
The <code>iterator_range</code> class is templated on a <a
href="../../iterator/doc/new-iter-concepts.html#forward-traversal-iterators-lib-forward-traversal-iterators">Forward
The <code>iterator_range</code> class is templated on an
<a href="../../iterator/doc/new-iter-concepts.html#forward-traversal-iterators-lib-forward-traversal-iterators">Forward
Traversal Iterator</a> and should be used whenever fairly general code is needed.
The <code>sub_range</code> class is templated on a <a
href="range.html#forward_range">Forward Range</a> and it is less general,
but a bit easier to use since its template
The <code>sub_range</code> class is templated on an <a href="range.html#forward_range">Forward
Range</a> and it is less general, but a bit easier to use since its template
argument is easier to specify. The biggest difference is, however, that a
<code>sub_range</code> can propagate constness because it knows what a
corresponding <code>const_iterator</code> is. </p>
@@ -350,17 +349,10 @@ store the result
</pre>
</p>
<hr>
<p>
&copy; <a name="Copyright" id="Copyright">Copyright</a> Thorsten Ottosen 2008.
</p>
<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">www.boost.org/LICENSE_1_0.txt</a>)
</p>
<hr>
<p>
(C) Copyright Thorsten Ottosen 2003-2007
</p>
<br>
<br>

0
include/boost/range.hpp Normal file → Executable file
View File

0
include/boost/range/as_array.hpp Normal file → Executable file
View File

6
include/boost/range/as_literal.hpp Normal file → Executable file
View File

@@ -15,7 +15,7 @@
# pragma once
#endif
#ifdef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
#if BOOST_NO_FUNCTION_TEMPLATE_ORDERING
#include <boost/range/detail/as_literal.hpp>
#else
@@ -116,14 +116,14 @@ namespace boost
template< class Char, std::size_t sz >
inline iterator_range<const Char*> as_literal( const Char (&arr)[sz] )
inline iterator_range<const Char*> as_literal( const Char (&arr)[sz] )
{
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x590)) && __BORLANDC__ >= 0x590
return boost::make_iterator_range<const Char*>( arr, arr + sz - 1 );
#else
return boost::make_iterator_range( arr, arr + sz - 1 );
#endif
}
}
}
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING

0
include/boost/range/begin.hpp Normal file → Executable file
View File

0
include/boost/range/category.hpp Normal file → Executable file
View File

0
include/boost/range/concepts.hpp Normal file → Executable file
View File

0
include/boost/range/config.hpp Normal file → Executable file
View File

0
include/boost/range/const_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/const_reverse_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/detail/as_literal.hpp Normal file → Executable file
View File

0
include/boost/range/detail/begin.hpp Normal file → Executable file
View File

0
include/boost/range/detail/collection_traits.hpp Normal file → Executable file
View File

View File

0
include/boost/range/detail/common.hpp Normal file → Executable file
View File

0
include/boost/range/detail/const_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/detail/detail_str.hpp Normal file → Executable file
View File

0
include/boost/range/detail/difference_type.hpp Normal file → Executable file
View File

0
include/boost/range/detail/empty.hpp Normal file → Executable file
View File

0
include/boost/range/detail/end.hpp Normal file → Executable file
View File

0
include/boost/range/detail/implementation_help.hpp Normal file → Executable file
View File

0
include/boost/range/detail/iterator.hpp Normal file → Executable file
View File

0
include/boost/range/detail/remove_extent.hpp Normal file → Executable file
View File

0
include/boost/range/detail/sfinae.hpp Normal file → Executable file
View File

0
include/boost/range/detail/size.hpp Normal file → Executable file
View File

0
include/boost/range/detail/size_type.hpp Normal file → Executable file
View File

0
include/boost/range/detail/sizer.hpp Normal file → Executable file
View File

0
include/boost/range/detail/str_types.hpp Normal file → Executable file
View File

0
include/boost/range/detail/value_type.hpp Normal file → Executable file
View File

0
include/boost/range/detail/vc6/end.hpp Normal file → Executable file
View File

0
include/boost/range/detail/vc6/size.hpp Normal file → Executable file
View File

0
include/boost/range/difference_type.hpp Normal file → Executable file
View File

0
include/boost/range/distance.hpp Normal file → Executable file
View File

0
include/boost/range/empty.hpp Normal file → Executable file
View File

0
include/boost/range/end.hpp Normal file → Executable file
View File

0
include/boost/range/functions.hpp Normal file → Executable file
View File

0
include/boost/range/iterator.hpp Normal file → Executable file
View File

0
include/boost/range/iterator_range.hpp Normal file → Executable file
View File

0
include/boost/range/metafunctions.hpp Normal file → Executable file
View File

0
include/boost/range/mutable_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/pointer.hpp Normal file → Executable file
View File

0
include/boost/range/rbegin.hpp Normal file → Executable file
View File

0
include/boost/range/reference.hpp Normal file → Executable file
View File

0
include/boost/range/rend.hpp Normal file → Executable file
View File

0
include/boost/range/result_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/reverse_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/reverse_result_iterator.hpp Normal file → Executable file
View File

0
include/boost/range/size.hpp Normal file → Executable file
View File

0
include/boost/range/size_type.hpp Normal file → Executable file
View File

0
include/boost/range/sub_range.hpp Normal file → Executable file
View File

0
include/boost/range/value_type.hpp Normal file → Executable file
View File

0
index.html Normal file → Executable file
View File

1
test/TODO Normal file
View File

@@ -0,0 +1 @@

0
test/adl_conformance.cpp Normal file → Executable file
View File

0
test/adl_conformance_no_using.cpp Normal file → Executable file
View File

0
test/algorithm_example.cpp Normal file → Executable file
View File

0
test/array.cpp Normal file → Executable file
View File

0
test/compat1.cpp Executable file
View File

0
test/compat2.cpp Normal file → Executable file
View File

0
test/compat3.cpp Normal file → Executable file
View File

0
test/const_ranges.cpp Normal file → Executable file
View File

0
test/extension_mechanism.cpp Normal file → Executable file
View File

0
test/iterator_pair.cpp Normal file → Executable file
View File

0
test/iterator_range.cpp Normal file → Executable file
View File

0
test/mfc.cpp Normal file → Executable file
View File

0
test/partial_workaround.cpp Normal file → Executable file
View File

0
test/reversible_range.cpp Normal file → Executable file
View File

0
test/std_container.cpp Normal file → Executable file
View File

0
test/string.cpp Normal file → Executable file
View File

0
test/sub_range.cpp Normal file → Executable file
View File