Circumventing __USE_MALLOC and templatized containers

Carlo Wood carlo@alinoe.com
Thu Nov 15 18:22:00 GMT 2001


On Fri, Nov 23, 2001 at 06:06:49PM +0100, Wolfgang Bangerth wrote:
>   template <typename T>
>     class my_vector : public std::vector<T, some_allocator>
>     { };
> 
> This is a bad idea, obviously. What then is the suggested way to have

This is how I've been doing it whenever I needed a templated
typedef.  Why is it a bad idea?

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Libstdc++ mailing list