Boost logo

Boost :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-07-28 14:08:15


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


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