|
Boost Users : |
Subject: Re: [Boost-users] [boost-users][function] how to
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-19 12:42:56
AMDG
Igor R wrote:
> function<void(Base *)> funcB;
> function <void(Derived *)> funcD;
>
> Is it possible to convert somehow funcD --> funcB ?
funcB = boost::lambda::bind(funcD, ll_static_cast<Derived*>(_1));
In Christ,
Steven Watanabe
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