Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-01-12 16:39:21

Steven Watanabe wrote:

> int main()
> {
> boost::shared_ptr<A> a(new A);
> boost::lambda::bind(&A::func, *boost::lambda::bind(identity(a)))();
> }

*lambda::constant(a) should work (but doesn't). This is arguably a bug in
Lambda's contentsof_type handling of cv qualifiers, but I'm afraid to touch
it. :-)

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