
20 Mar
2004
20 Mar
'04
3:33 p.m.
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.