|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][function] how to
From: Igor R (boost.lists_at_[hidden])
Date: 2009-01-19 13:44:31
>
> 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? :)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net