
29 Mar
2005
29 Mar
'05
4:58 p.m.
Sorry, I actually need param_type. Reference indeed is just add_[const_]reference.
Any idea in this direction?
You mean: template <class T> struct add_const_reference { private: typedef typename remove_reference<T>::type nref_t; typedef typename add_const<nref_t>::type ct; public: typedef typename add_reference<ct>::type type; }; ??? John.