
On Thu, Sep 01, 2005 at 11:09:53AM -0700, Eric Niebler wrote:
Pavol Droba wrote:
On Thu, Sep 01, 2005 at 06:09:00AM -0700, Eric Niebler wrote:
So, is Boost.Range broken, or is this another problem with the documentation?
Documentation says, that boost::begin() implementation calls unqualified boost_range_begin(). Therefore this is the function, one needs to implement to make support for his/her class.
http://www.boost.org/libs/range/doc/boost_range.html#Semantics
Um, where in the documentation does it say that? I followed the link, but I see no mention of boost_range_begin().
Oops. This is realy bad. I was actualy digging in the implementation. Then I was tring to find it in the documentation. And it seems, that I have not read it properly. So all I said about boost_range_begin() is valid. But the documentation is perfectly misleading. Regards, Pavol