2 Aug
2004
2 Aug
'04
9:45 a.m.
Hello boost-users@lists.boost.org, It seems to me that currently lambda's bind does not support shared_ptr as a second argument to bind, when first argument is a pointer-to-member. But boost::bind handles it perfectly. It would be nice for me to be able to write something like this: using namespace boost::lambda; struct SomeClass { int member1; }; boost::shared_ptr<SomeClass> ptr(new SomeClass); (bind(&SomeClass::member1, ptr) = _1)(5); Is it possible with current implementation of lambda? Or I have missed something important? -- Best regards, Vladimir mailto:vkrasovsky@yandex.ru
7421
Age (days ago)
7421
Last active (days ago)
0 comments
1 participants
participants (1)
-
Vladimir Krasovsky