Thread View: comp.std.c++
1 messages
1 total messages
Started by Solution Technology
Wed, 30 Aug 1995 03:26
Standard Library complexity
Author: Solution Technology
Date: Wed, 30 Aug 1995 03:26
Date: Wed, 30 Aug 1995 03:26
16 lines
876 bytes
876 bytes
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. ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads