From: John Maddock (jm_at_[hidden])
Date: 2002-08-19 06:39:24
> Could we call the current add_pointer<> template addressof_type or
> something, and supply an add_pointer which straightforwardly adds a '*' if
> it's legal to do so?
That's more or less what it does now: everything become a T* except T& which
becomes T*. I would find it even odder that add_pointer<T&>::type was T&,
since the latter is clearly not a pointer, where as with
add_reference<T&>::type the result is already a reference, and with
add_const <const T>::type the result is already const.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk