Boost logo

Boost :

From: Jeremy Siek (jsiek_at_[hidden])
Date: 2001-12-13 14:00:38


On Thu, 13 Dec 2001, Peter Dimov wrote:
pdimov> Yes, I considered it. It was Brian Parker, I believe, that suggested it
pdimov> first.
pdimov>
pdimov> I don't like it. Losing const correctness is a major drawback, IMO, since
pdimov> the result, in some cases, is undefined behavior. I could live with this
pdimov> hack if it were absolutely necessary, but it's not, since most iterators
pdimov> (fortunately) don't return by value.
pdimov>
pdimov> FWIW the current bind implementation doesn't conform to its spec. :-) The
pdimov> specification says that it should work even in this case.

Ok, we'll just have to document this. I'll add to the BGL trouble shooting
section that bind can't be used with any of the BGL iterators.

Ciao,
Jeremy

----------------------------------------------------------------------
 Jeremy Siek http://php.indiana.edu/~jsiek/
 Ph.D. Student, Indiana Univ. B'ton email: jsiek_at_[hidden]
 C++ Booster (http://www.boost.org) office phone: (812) 855-3608
----------------------------------------------------------------------


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk