🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #1871

Standard Library complexity

#1871
From: Solution Technology
Date: Wed, 30 Aug 1995 03:26
16 lines
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. ]
Technical Details
Message-ID: <41vt96$1pm1@seminole.gate.net>
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in1.uu.net!bounce-back
Date: 30 Aug 95 03:26:00 GMT
Approved: fjh@cs.mu.oz.au
Return-Path: <daemon@ncar.UCAR.EDU>
From: stidev@gate.net (Solution Technology)
Newsgroups: comp.std.c++
Subject: Standard Library complexity
X-Original-Date: 29 Aug 1995 16:28:22 -0400
Message-ID: <41vt96$1pm1@seminole.gate.net>
X-Newsreader: TIN [version 1.2 PL2]