New version of Boost.Algorithm (proposed) in the vault

<http://www.boostpro.com/vault/index.php?action=downloadfile&filename=Boost.Algorithm-009.zip&directory=Algorithms> Changes since -008: * Better documentation all around - including doxygen. * Fixed typo-style bugs in all.hpp, and added tests to make sure they stay dead. * Better comments in clamp.hpp, and better tests. * The search algorithms now deal correctly with zero-length patterns and corpuses, and have tests for that. * The search algorithms now have tests for the compile-time assertions. * MSVC 10 compatibility Please download, try it out, and let me know! Thanks! -- Marshall Marshall Clow Idio Software <mailto:mclow.lists@gmail.com> A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki

Hello, I tried using string search library and I got two problems. First, the header "search.hpp" does not compile without -std=c++0x option on gcc 4.5.2. I think Boost libraries should not require c++0x just yet. Second, Boyer Moore search does not work correctly with some patterns. The problem seem to cause small alphabet size (e.g., in DNA sequences). For example, the following test fails: The test completes successfully if I reduce pattern length or if I use random characters from one of the library's test files. I hope this problem can be resolved easily. Thank you Mikhail -- View this message in context: http://boost.2283326.n4.nabble.com/New-version-of-Boost-Algorithm-proposed-i... Sent from the Boost - Dev mailing list archive at Nabble.com.

2011/4/19 Marshall Clow <mclow.lists@gmail.com>
Changes since -008:
* Better documentation all around - including doxygen. * Fixed typo-style bugs in all.hpp, and added tests to make sure they stay dead. * Better comments in clamp.hpp, and better tests. * The search algorithms now deal correctly with zero-length patterns and corpuses, and have tests for that. * The search algorithms now have tests for the compile-time assertions. * MSVC 10 compatibility
Please download, try it out, and let me know!
I was trying to use KMP and got some errors: * No CHAR_BIT declared. * template boost::algorithm::knuth_morris_pratt does not accept plain pointer type.
participants (3)
-
Marshall Clow
-
svarneticist
-
TONGARI