
20 Jul
2010
20 Jul
'10
4:09 p.m.
AMDG David Sankel wrote:
Thanks for clarifying what I meant by awkward. Is it possible, and if so how, to make a generic solution? The main problem I see is bind taking a type argument in some cases. Could boost.bind be modified to expose a result type? I haven't seen any reasons yet for bind not including this really useful feature.
I believe that there's an open feature request for Boost.Typeof emulation support for Boost.Bind. If you're willing to live with your code only working on gcc, msvc, and any other compilers that have a built-in typeof or decltype, then you can use Boost.Typeof in native mode now. In Christ, Steven Watanabe