diff --git a/minmax/example/Jamfile b/minmax/example/Jamfile new file mode 100644 index 0000000..d8650e0 --- /dev/null +++ b/minmax/example/Jamfile @@ -0,0 +1,12 @@ +# Boost.Minmax Library Example Jamfile +# +# Copyright (C) 2002--2004, Herve Bronnimann +# +# 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) +# + +exe minmax_ex : minmax_ex.cpp ; +exe minmax_timer : minmax_timer.cpp ; + diff --git a/string/doc/Jamfile.v2 b/string/doc/Jamfile.v2 index f402ba4..ac3a43b 100644 --- a/string/doc/Jamfile.v2 +++ b/string/doc/Jamfile.v2 @@ -10,7 +10,7 @@ import toolset ; toolset.using doxygen ; -boostbook string_algo : string_algo.xml ; +boostbook string_algo : string_algo.xml autodoc ; doxygen autodoc : diff --git a/string/doc/concept.xml b/string/doc/concept.xml index 4829839..1f3c8d1 100644 --- a/string/doc/concept.xml +++ b/string/doc/concept.xml @@ -7,7 +7,6 @@ (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0) --> -
Concepts diff --git a/string/doc/credits.xml b/string/doc/credits.xml index d397660..ff7996f 100644 --- a/string/doc/credits.xml +++ b/string/doc/credits.xml @@ -7,7 +7,6 @@ (See accompanying file LICENSE-1.0 or http://www.boost.org/LICENSE-1.0) --> -
Credits
diff --git a/string/doc/design.xml b/string/doc/design.xml index 30db18c..23d7bd5 100644 --- a/string/doc/design.xml +++ b/string/doc/design.xml @@ -2,6 +2,7 @@ + \ No newline at end of file diff --git a/string/doc/intro.xml b/string/doc/intro.xml index e90d759..42e0923 100644 --- a/string/doc/intro.xml +++ b/string/doc/intro.xml @@ -2,6 +2,7 @@ + -
Rationale diff --git a/string/doc/string_algo.xml b/string/doc/string_algo.xml index ae472b0..2313066 100644 --- a/string/doc/string_algo.xml +++ b/string/doc/string_algo.xml @@ -44,7 +44,7 @@ - + diff --git a/string/doc/usage.xml b/string/doc/usage.xml index c6836b1..f6b8f58 100644 --- a/string/doc/usage.xml +++ b/string/doc/usage.xml @@ -2,11 +2,13 @@ + +
Usage diff --git a/string/example/Jamfile b/string/example/Jamfile new file mode 100644 index 0000000..74c923f --- /dev/null +++ b/string/example/Jamfile @@ -0,0 +1,18 @@ +# Boost string_algo library examples Jamfile --------------------------------- +# +# Copyright Pavol Droba 2002-2003. 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) +# +# See http://www.boost.org for updates, documentation, and revision history. + + +exe conv_example : conv_example.cpp ; +exe predicate_example : predicate_example.cpp ; +exe find_example : find_example.cpp ; +exe replace_example : replace_example.cpp ; +exe rle_example : rle_example.cpp ; +exe trim_example : trim_example.cpp ; +exe regex_example : regex_example.cpp /boost/regex//boost_regex ; +exe split_example : split_example.cpp ; \ No newline at end of file diff --git a/string/index.html b/string/index.html index 3fe4b48..dc0e1b9 100644 --- a/string/index.html +++ b/string/index.html @@ -1,9 +1,3 @@ - - - diff --git a/string/test/split_test.cpp b/string/test/split_test.cpp index f1de543..bb4e1a2 100644 --- a/string/test/split_test.cpp +++ b/string/test/split_test.cpp @@ -122,6 +122,25 @@ void iterator_test() BOOST_CHECK( tokens[2]==string("") ); BOOST_CHECK( tokens[3]==string("xx") ); BOOST_CHECK( tokens[4]==string("abb") ); + + find_iterator fiter=make_find_iterator(str1, first_finder("xx")); + BOOST_CHECK(equals(*fiter, "xx")); + ++fiter; + BOOST_CHECK(equals(*fiter, "xx")); + ++fiter; + BOOST_CHECK(fiter==find_iterator()); + + split_iterator siter=make_split_iterator(str1, token_finder(is_any_of("-"), token_compress_on)); + BOOST_CHECK(equals(*siter, "xx")); + ++siter; + BOOST_CHECK(equals(*siter, "abc")); + ++siter; + BOOST_CHECK(equals(*siter, "xx")); + ++siter; + BOOST_CHECK(equals(*siter, "abb")); + ++siter; + BOOST_CHECK(siter==split_iterator()); + } // test main