If you feel this is an interesting library, then please submit your review to the developer list (preferably), or to the review manager.
I'm not a member of the developer list, so I'm sending this to the Boost.User's list and Thorsten Ottosen. Hope that's ok.
Here are some questions you might want to answer in your review:
- What is your evaluation of the design?
I really like it. It's feels very expressive. I wish something like this was available a long time ago.
- What is your evaluation of the implementation?
I didn't look into the source code.
- What is your evaluation of the documentation?
Found some very small mistakes in http://www.cs.aau.dk/~nesotto/boost/libs/range/doc/adaptors.html. 1) "where added to be equivalent" should be "were added to be equivalent". 2) "The answer is readbility" should be "The answer is readability". 3) code snippet where the virtues of using operator |() are extolled shows "boost::adaptors::unique" but it should be "boost::adaptors::uniqued". 4) "satisfies that predicated" should be "satisfies that predicate".
- What is your evaluation of the potential usefulness of the library?
I think it'll be very useful and will make code more readable. Rather than fiddling with the boundaries of ranges, you can just use the range. If a function returns a STL-compliant container which I need to do something with, I currently have a const& to the returned container, then do something with its begin() and end(). Now I can just get on and do whatever I need to do directly on the return value.
- Did you try to use the library? With what compiler? Did you have any problems?
I did. I used Microsoft Visual Studio 7.1 (2003 with SP1) and Boost 1.38.0.
I went through the most of the adaptors and tried out the examples.
Didn't really understand the difference between the adaptors "copied"
and "sliced". Is there any?
I took the example on the replaced adaptors page
(http://www.cs.aau.dk/~nesotto/boost/libs/range/doc/adaptors/replaced.html)
and modified it for std::string. It failed to compile on MSVC7.1
(2003). Here's the code:
#include
- How much effort did you put into your evaluation? A glance? A quick - reading? In-depth study?
It was a quick-reading.
- Are you knowledgeable about the problem domain?
Fairly. I've been using STL containers and algorithms for over 5 years.
And finally, every review should answer this question:
- Do you think the library should be accepted as a Boost library?
Yes.