$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-12-08 07:40:59
----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>
>
> >And, to cap it all... it doesn't look like I can detect a member function
> >pointer. Am I wrong? It looks like is_function doesn't return true for a
> >member function.
>
> No, it shouldn't - you can't dereference a member pointer, so there are no
> references to member pointers, or types "member function pointer".
'scuse me? with
struct X;
what type is
void (X::*)()
??
Are you complaining about my word order? I could have written "pointer to
member function" instead. Still, I can't detect one with type_traits if I'm
not mistaken.