[algorithm] About the documentation of boost::algorithm::string.

There are two minor problems with the documentation which I have noticed. 1. Undocumented headers. boost/algorithm/string/config.hpp boost/algorithm/string/iter_find.hpp 2. The statement "Each part is copied and added as a new element to the output container." which appears both in the documentation of boost/algorithm/string /split.hpp and in comments of that header file is not an accurate description of what actually happens. Some testing by myself suggests that, in fact, the contents of the original container are overwritten. Matthew Henderson

On Tue, Jan 17, 2006 at 12:04:09PM +0000, Matthew Henderson wrote:
There are two minor problems with the documentation which I have noticed.
1. Undocumented headers. boost/algorithm/string/config.hpp boost/algorithm/string/iter_find.hpp
2. The statement "Each part is copied and added as a new element to the output container." which appears both in the documentation of boost/algorithm/string /split.hpp and in comments of that header file is not an accurate description of what actually happens. Some testing by myself suggests that, in fact, the contents of the original container are overwritten.
This is definitely not what the split is supposed to do. Could you please send some examples proving your claim. Algorithms in split.hpp does not contain any mutating code that I'm aware of. Regards, Pavol
participants (2)
-
Matthew Henderson
-
Pavol Droba