This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Circumventing __USE_MALLOC and templatized containers


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]