Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-12-12 13:10:06


From: "Jeremy Siek" <jsiek_at_[hidden]>
> Some BGL iterators dereference return by value. The bind generated
> function objects take their parameters by reference. This causes the
> following to fail:

[...]

> I don't see an easy way to fix the problem :(

It just occured to me that if you change the return value to be const, bind
will work (except when the return value is a builtin.)

--
Peter Dimov
Multi Media Ltd.

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