|
Boost : |
From: Chris Trengove (trengove_at_[hidden])
Date: 2003-03-28 17:52:17
"David Abrahams" <dave_at_[hidden]> wrote in message
news:uznnfjui7.fsf_at_boost-consulting.com...
> You can get an idea of the intended semantics of this dance by looking
> at libs/python/test/member_function_cast.cpp. The idea is that if f
> is a member function, and its class is a base class of Target, it
> will be implicitly converted to a pointer-to-member of Target.
> Otherwise it will be left alone.
>
> We are going to drop support for CodeWarrior 7 in the next version of
> Boost.Python anyway, so you could reimplement those semantics with a
> much more straightforward interface that works with BCC. I think you
> should be able to make
>
> member_function_cast<Target>(f)
>
> work
Thanks. It certainly helps to have a clearer understanding of what is going
on here. I'll see if I can come up with a "simpler" BCC-specific approach.
Chris
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk