Boost logo

Boost :

From: Russell Hind (rh_gmane_at_[hidden])
Date: 2006-02-28 10:29:06


AlisdairM wrote:
>
> typedef typename add_ref< add_const< T > >::type ref_const_t;
> typedef typename add_const< add_ref< T > >::type const_ref_t;
>

Aren't these types

T const &

and

T& const

Which aren't equivelant (for T& const, the const is unnecessary IIUC)?

But I'm easily confused so my jump out of this conversation now!

Cheers

Russell


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