Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-04-19 11:19:34


Marco wrote:
> but it's
>
> template<typename T>
> struct storable
> : public
> boost::remove_const
> <
> typename boost::remove_reference<T>::type
> >
> {};
>
> that leads to :
> storable< const int & > : public boost::remove_const< const int >
>
> and so: typename storable< const int & >::type is equal to int

Doh!

Embarrassed yours, John.


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