Compare commits

..

2 Commits

Author SHA1 Message Date
e788ed454c Merge with the offending files removed.
[SVN r39995]
2007-10-13 23:18:35 +00:00
8b4e71ca6e Create a development branch for the hash library.
[SVN r38869]
2007-08-23 19:28:19 +00:00
16 changed files with 39 additions and 80 deletions

View File

@ -17,6 +17,8 @@
#include <boost/range/begin.hpp> #include <boost/range/begin.hpp>
#include <boost/range/end.hpp> #include <boost/range/end.hpp>
#include <boost/range/iterator.hpp> #include <boost/range/iterator.hpp>
#include <boost/range/const_iterator.hpp>
#include <boost/range/result_iterator.hpp>
#include <boost/range/as_literal.hpp> #include <boost/range/as_literal.hpp>
#include <boost/algorithm/string/finder.hpp> #include <boost/algorithm/string/finder.hpp>
@ -48,7 +50,7 @@ namespace boost {
*/ */
template<typename RangeT, typename FinderT> template<typename RangeT, typename FinderT>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
find( find(
RangeT& Input, RangeT& Input,
const FinderT& Finder) const FinderT& Finder)
@ -76,7 +78,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
find_first( find_first(
Range1T& Input, Range1T& Input,
const Range2T& Search) const Range2T& Search)
@ -102,7 +104,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
ifind_first( ifind_first(
Range1T& Input, Range1T& Input,
const Range2T& Search, const Range2T& Search,
@ -129,7 +131,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
find_last( find_last(
Range1T& Input, Range1T& Input,
const Range2T& Search) const Range2T& Search)
@ -155,7 +157,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
ifind_last( ifind_last(
Range1T& Input, Range1T& Input,
const Range2T& Search, const Range2T& Search,
@ -183,7 +185,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
find_nth( find_nth(
Range1T& Input, Range1T& Input,
const Range2T& Search, const Range2T& Search,
@ -213,7 +215,7 @@ namespace boost {
*/ */
template<typename Range1T, typename Range2T> template<typename Range1T, typename Range2T>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<Range1T>::type> BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
ifind_nth( ifind_nth(
Range1T& Input, Range1T& Input,
const Range2T& Search, const Range2T& Search,
@ -245,7 +247,7 @@ namespace boost {
*/ */
template<typename RangeT> template<typename RangeT>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
find_head( find_head(
RangeT& Input, RangeT& Input,
int N) int N)
@ -276,7 +278,7 @@ namespace boost {
*/ */
template<typename RangeT> template<typename RangeT>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
find_tail( find_tail(
RangeT& Input, RangeT& Input,
int N) int N)
@ -305,7 +307,7 @@ namespace boost {
*/ */
template<typename RangeT, typename PredicateT> template<typename RangeT, typename PredicateT>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
find_token( find_token(
RangeT& Input, RangeT& Input,
PredicateT Pred, PredicateT Pred,

View File

@ -18,7 +18,7 @@
#include <boost/range/iterator_range.hpp> #include <boost/range/iterator_range.hpp>
#include <boost/range/begin.hpp> #include <boost/range/begin.hpp>
#include <boost/range/end.hpp> #include <boost/range/end.hpp>
#include <boost/range/iterator.hpp> #include <boost/range/result_iterator.hpp>
#include <boost/range/as_literal.hpp> #include <boost/range/as_literal.hpp>
#include <boost/algorithm/string/detail/find_iterator.hpp> #include <boost/algorithm/string/detail/find_iterator.hpp>
@ -185,12 +185,12 @@ namespace boost {
*/ */
template<typename RangeT, typename FinderT> template<typename RangeT, typename FinderT>
inline find_iterator< inline find_iterator<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
make_find_iterator( make_find_iterator(
RangeT& Collection, RangeT& Collection,
FinderT Finder) FinderT Finder)
{ {
return find_iterator<BOOST_STRING_TYPENAME range_iterator<RangeT>::type>( return find_iterator<BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>(
Collection, Finder); Collection, Finder);
} }
@ -363,12 +363,12 @@ namespace boost {
*/ */
template<typename RangeT, typename FinderT> template<typename RangeT, typename FinderT>
inline split_iterator< inline split_iterator<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>
make_split_iterator( make_split_iterator(
RangeT& Collection, RangeT& Collection,
FinderT Finder) FinderT Finder)
{ {
return split_iterator<BOOST_STRING_TYPENAME range_iterator<RangeT>::type>( return split_iterator<BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type>(
Collection, Finder); Collection, Finder);
} }

View File

@ -19,7 +19,7 @@
#include <boost/range/iterator_range.hpp> #include <boost/range/iterator_range.hpp>
#include <boost/range/begin.hpp> #include <boost/range/begin.hpp>
#include <boost/range/end.hpp> #include <boost/range/end.hpp>
#include <boost/range/iterator.hpp> #include <boost/range/result_iterator.hpp>
#include <boost/range/value_type.hpp> #include <boost/range/value_type.hpp>
#include <boost/range/as_literal.hpp> #include <boost/range/as_literal.hpp>
@ -76,12 +76,12 @@ namespace boost {
{ {
function_requires< function_requires<
FinderConcept<FinderT, FinderConcept<FinderT,
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> >(); BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type> >();
iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_input(as_literal(Input)); iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_input(as_literal(Input));
typedef BOOST_STRING_TYPENAME typedef BOOST_STRING_TYPENAME
range_iterator<RangeT>::type input_iterator_type; range_result_iterator<RangeT>::type input_iterator_type;
typedef find_iterator<input_iterator_type> find_iterator_type; typedef find_iterator<input_iterator_type> find_iterator_type;
typedef detail::copy_iterator_rangeF< typedef detail::copy_iterator_rangeF<
BOOST_STRING_TYPENAME BOOST_STRING_TYPENAME
@ -145,12 +145,12 @@ namespace boost {
{ {
function_requires< function_requires<
FinderConcept<FinderT, FinderConcept<FinderT,
BOOST_STRING_TYPENAME range_iterator<RangeT>::type> >(); BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type> >();
iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_input(as_literal(Input)); iterator_range<BOOST_STRING_TYPENAME range_iterator<RangeT>::type> lit_input(as_literal(Input));
typedef BOOST_STRING_TYPENAME typedef BOOST_STRING_TYPENAME
range_iterator<RangeT>::type input_iterator_type; range_result_iterator<RangeT>::type input_iterator_type;
typedef split_iterator<input_iterator_type> find_iterator_type; typedef split_iterator<input_iterator_type> find_iterator_type;
typedef detail::copy_iterator_rangeF< typedef detail::copy_iterator_rangeF<
BOOST_STRING_TYPENAME BOOST_STRING_TYPENAME

View File

@ -17,7 +17,7 @@
#include <boost/range/iterator_range.hpp> #include <boost/range/iterator_range.hpp>
#include <boost/range/begin.hpp> #include <boost/range/begin.hpp>
#include <boost/range/end.hpp> #include <boost/range/end.hpp>
#include <boost/range/iterator.hpp> #include <boost/range/result_iterator.hpp>
#include <boost/range/as_literal.hpp> #include <boost/range/as_literal.hpp>
#include <boost/algorithm/string/find_format.hpp> #include <boost/algorithm/string/find_format.hpp>
@ -54,7 +54,7 @@ namespace boost {
typename CharT, typename CharT,
typename RegexTraitsT> typename RegexTraitsT>
inline iterator_range< inline iterator_range<
BOOST_STRING_TYPENAME range_iterator<RangeT>::type > BOOST_STRING_TYPENAME range_result_iterator<RangeT>::type >
find_regex( find_regex(
RangeT& Input, RangeT& Input,
const basic_regex<CharT, RegexTraitsT>& Rx, const basic_regex<CharT, RegexTraitsT>& Rx,
@ -634,12 +634,6 @@ namespace boost {
using algorithm::find_all_regex; using algorithm::find_all_regex;
using algorithm::split_regex; using algorithm::split_regex;
#ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
using algorithm::join_if;
#else // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
using algorithm::join_if_regex;
#endif // BOOST_NO_FUNCTION_TEMPLATE_ORDERING
} // namespace boost } // namespace boost

View File

@ -31,7 +31,6 @@ doxygen autodoc
[ glob ../../../../boost/algorithm/string/trim.hpp ] [ glob ../../../../boost/algorithm/string/trim.hpp ]
[ glob ../../../../boost/algorithm/string/predicate.hpp ] [ glob ../../../../boost/algorithm/string/predicate.hpp ]
[ glob ../../../../boost/algorithm/string/split.hpp ] [ glob ../../../../boost/algorithm/string/split.hpp ]
[ glob ../../../../boost/algorithm/string/iter_find.hpp ]
[ glob ../../../../boost/algorithm/string/erase.hpp ] [ glob ../../../../boost/algorithm/string/erase.hpp ]
[ glob ../../../../boost/algorithm/string/join.hpp ] [ glob ../../../../boost/algorithm/string/join.hpp ]
[ glob ../../../../boost/algorithm/string/replace.hpp ] [ glob ../../../../boost/algorithm/string/replace.hpp ]

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.concept" last-revision="$Date$"> <section id="string_algo.concept" last-revision="$Date$">

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.credits" last-revision="$Date$"> <section id="string_algo.credits" last-revision="$Date$">

View File

@ -5,7 +5,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.design" last-revision="$Date$"> <section id="string_algo.design" last-revision="$Date$">
@ -217,7 +217,7 @@
</para> </para>
<para> <para>
For more information about the exception safety topics, follow this For more information about the exception safety topics, follow this
<ulink url="http://www.boost.org/community/exception_safety.html">link</ulink> <ulink url="../../more/generic_exception_safety.html">link</ulink>
</para> </para>
</section> </section>
</section> </section>

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.env" last-revision="$Date$"> <section id="string_algo.env" last-revision="$Date$">

View File

@ -31,7 +31,7 @@
typedef <i>implementation defined </i> foo_type;</code><p >The corresponding external concept is the ExternalFooConcept.</p><p >A type <code>T</code> fullfills the ExternalFooConcept if these typedef <i>implementation defined </i> foo_type;</code><p >The corresponding external concept is the ExternalFooConcept.</p><p >A type <code>T</code> fullfills the ExternalFooConcept if these
free-standing functions and type-generators exists:</p><code>void foo( const T&, int ); <br> free-standing functions and type-generators exists:</p><code>void foo( const T&, int ); <br>
int bar( T& ); <br> int bar( T& ); <br>
foo_type_of< T >::type;</code> <br> <br><hr size="1" ><h3 >Literature</h3><ul ><li > <a href="http://www.boost.org/community/generic_programming.html#type_generator" target="_self" >Type Generators</a> </li><li > <a href="http://www.boost.org/community/generic_programming.html#concept" target="_self" >Concepts</a> </li><li > <a href="http://www.sgi.com/tech/stl/stl_introduction.html" target="_self" >Concepts and SGI STL</a> </li></ul><hr size="1" ><p >&copy; Thorsten Ottosen 2003-2004 (nesotto_AT_cs.auc.dk). foo_type_of< T >::type;</code> <br> <br><hr size="1" ><h3 >Literature</h3><ul ><li > <a href="http://www.boost.org/more/generic_programming.html#type_generator" target="_self" >Type Generators</a> </li><li > <a href="http://www.boost.org/more/generic_programming.html#concept" target="_self" >Concepts</a> </li><li > <a href="http://www.sgi.com/tech/stl/stl_introduction.html" target="_self" >Concepts and SGI STL</a> </li></ul><hr size="1" ><p >&copy; Thorsten Ottosen 2003-2004 (nesotto_AT_cs.auc.dk).
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears
in all copies. This software is provided "as is" without express or implied warranty, and with no in all copies. This software is provided "as is" without express or implied warranty, and with no
claim as to its suitability for any purpose.</p><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></body></html> claim as to its suitability for any purpose.</p><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br></body></html>

View File

@ -5,7 +5,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.intro" last-revision="$Date$"> <section id="string_algo.intro" last-revision="$Date$">

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.quickref" last-revision="$Date$"> <section id="string_algo.quickref" last-revision="$Date$">
@ -151,7 +151,7 @@
</row> </row>
<row> <row>
<entry><code>lexicographical_compare</code></entry> <entry><code>lexicographical_compare</code></entry>
<entry>Check if a string is lexicographically less then another one</entry> <entry>Check if a string is lexicographicaly less then another one</entry>
<entry> <entry>
<functionname>lexicographical_compare()</functionname> <functionname>lexicographical_compare()</functionname>
<sbr/> <sbr/>
@ -443,20 +443,6 @@
<functionname>split_regex()</functionname> <functionname>split_regex()</functionname>
</entry> </entry>
</row> </row>
<row>
<entry>iter_find</entry>
<entry>Iteratively apply the finder to the input to find all matching substrings</entry>
<entry>
<functionname>iter_find()</functionname>
</entry>
</row>
<row>
<entry>iter_split</entry>
<entry>Use the finder to find matching substrings in the input and use them as separators to split the input into parts</entry>
<entry>
<functionname>iter_split()</functionname>
</entry>
</row>
</tbody> </tbody>
</tgroup> </tgroup>
</table> </table>

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.rationale" last-revision="$Date$"> <section id="string_algo.rationale" last-revision="$Date$">

View File

@ -4,14 +4,10 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<section id="string_algo.release_notes" last-revision="$Date$"> <section id="string_algo.release_notes" last-revision="$Date$">
<using-namespace name="boost"/>
<using-namespace name="boost::algorithm"/>
<title>Release Notes</title> <title>Release Notes</title>
<itemizedlist> <itemizedlist>
@ -23,23 +19,5 @@
<para><emphasis role="bold">1.33</emphasis></para> <para><emphasis role="bold">1.33</emphasis></para>
<para>Internal version of collection traits removed, library adapted to Boost.Range</para> <para>Internal version of collection traits removed, library adapted to Boost.Range</para>
</listitem> </listitem>
<listitem>
<para><emphasis role="bold">1.34</emphasis></para>
<itemizedlist>
<listitem>
<functionname>lexicographical_compare()</functionname>
</listitem>
<listitem>
<functionname>join()</functionname> and <functionname>join_if()</functionname>
</listitem>
<listitem>
New comparison predicates <code>is_less</code>, <code>is_not_greater</code>
</listitem>
<listitem>
Negative indexes support (like Perl) in various algorihtms
(<code>*_head/tail</code>, <code>*_nth</code>).
</listitem>
</itemizedlist>
</listitem>
</itemizedlist> </itemizedlist>
</section> </section>

View File

@ -4,7 +4,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->
<library name="String Algorithms" dirname="algorithm/string" xmlns:xi="http://www.w3.org/2001/XInclude" <library name="String Algorithms" dirname="algorithm/string" xmlns:xi="http://www.w3.org/2001/XInclude"

View File

@ -5,7 +5,7 @@
<!-- Copyright (c) 2002-2006 Pavol Droba. <!-- Copyright (c) 2002-2006 Pavol Droba.
Subject to the Boost Software License, Version 1.0. Subject to the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0)
--> -->