
14 Aug
2004
14 Aug
'04
4:25 p.m.
Currently (afaict) there isnt a specialization of remove_pointer that handles smart pointers. Providing a very generic specialization: template <typename T, template<typename> class Ptr> struct remove_pointer<Ptr<T> >; or a set of specializations that cover shared_ptr etc + auto_ptr explicitly, "seems" like a rational extension. Are there any potential problems, and if not can we get this added to type traits?