
28 Jul
2008
28 Jul
'08
6:08 p.m.
AMDG John Maddock wrote:
Folks, I'm trying to decide how to fix this bug report: https://svn.boost.org/trac/boost/ticket/2011
Basically what should: remove_pointer<int (foo::*)>::type be? 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.
Agreed.
In which case, anyone object to a remove_member_pointer trait that transforms:
Nope. I've needed this in the past and wondered why it wasn't present.
It's also tempting to add a "member_object" trait at the same time that transforms:
Good idea. In Christ, Steven Watanabe