
19 Jan
2009
19 Jan
'09
6:44 p.m.
funcB = boost::lambda::bind(funcD, ll_static_cast<Derived*>(_1));
Great, thank you!
The only problem is that my actual code uses shared_ptr<Base>, shared_ptr<Derived>, rather than plain ptrs, so the ll_static_cast doens't compile... Is it still possible to enhance the formula? :)