Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2008-07-28 11:35:40

Folks, I'm trying to decide how to fix this bug report:

Basically what should:

remove_pointer<int (foo::*)>::type


Should it produce an int, or have no effect?

TR1 explicitly says that it has no effect, so I guess I vote to stick with
that behaviour.

In which case, anyone object to a remove_member_pointer trait that

int (foo::*) --> int
int (foo::*)(double) --> int (double)


It's also tempting to add a "member_object" trait at the same time that

int (foo::*) --> foo
int (foo::*)(double) --> foo


Thanks, John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at