Re: [boost] Is there any interest in a library that provides container

In-Reply-To: <6.2.3.4.2.20051026233845.06694ac0@mail.rudbek.com> vawjr@rudbek.com (Victor A. Wagner Jr.) wrote (abridged):
OK, fix the core language so that I don't have to write the whole batch of forwarding functions
You can use private inheritance and using-declarations, if that helps.
AND I get the new ones automatically when std::vector gets updated!!
That's the controversial part. If you inherit from std::vector it is relatively easy for changes to the std library to break your code. The worst case is when the base class adds a virtual function with the same name as one of your private member functions. You might consider using non-member functions which take a std::vector argument instead. It sounds like you are not adding any data or virtual functions, so your new stuff may not actually need to be member functions? -- Dave Harris, Nottingham, UK.
participants (1)
-
brangdon@cix.compulink.co.uk