
28 Feb
2006
28 Feb
'06
1:18 p.m.
On Tue, 28 Feb 2006 12:42:01 +0000 (UTC), "AlisdairM" <alisdair.meredith@uk.renaultf1.com> wrote:
John Maddock wrote:
Just in case you hadn't realised: add_const< add_ref< T > > and add_ref< add_const< T > > should produce different results :-)
I took the ::type as read ;?)
Unless that is not what you are referring to, in which case I really do need educating!
i.e: I assume the following are the same type (and not just equivalent)
typedef typename add_ref< add_const< T > >::type ref_const_t;
Should give const T&
typedef typename add_const< add_ref< T > >::type const_ref_t;
Should give T& If I am right, both types are different regards, Zara