Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-03-20 10:33:01

Maxim Yegorushkin wrote:
> Hi guys.
> I encountered a pitfall when trying to use boost::lambda for
> dereferencing a smart pointer. Current lambda implementation assumes
> that operator*() can be applied to either a plain pointer or an
> iterator. That leads to an error message when applying the operator
> to a smart pointer complaining about std::iterator_traits<> not being
> specialized for the smart pointer.

Try the CVS version, it should work.

Boost list run by bdawes at, gregod at, cpdaniel at, john at