
19 Apr
2007
19 Apr
'07
3:19 p.m.
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.