Topic: Standard Library complexity


Author: stidev@gate.net (Solution Technology)
Date: 1995/08/30
Raw View
I haven't look at all of STL yet, but it seams like hundreds of lines
of repeatition for each container.
Looks like template inheritance could reduce this.

Like:
template<class T> List : Container<T>, Iterator<T>, Allocator<T>
 {
// only code specific to List
 }


Ken Walter
---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]