Boost logo

Boost :

From: Realdodo Du (realdodo.d_at_[hidden])
Date: 2006-09-11 11:35:52


It's amazing that function_traits in Boost.type_traits does not support
member function traits. As I need this feature recently, I wrote a simple
implementation and discuss it with John Maddock, but he gave me following
reply:

John Maddock <john_at_[hidden]> wrote:
> I don't think this is quite the right approach: function_traits was
> deliberately written *not* to work with function-pointers - since you can
> always strip the pointer off before passing the type to function_traits -
> but handling member function pointers raise some interesting wider
> questions.

I'm not sure the meaning of "wider questions". Could anyone tell me what is
the question and the differences between global function pointers and member
function pointers, please?

Regards,

Realdodo Du
realdodo.d_at_[hidden]


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk