🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Re: STL Reference book

#2448
From: David Byrden
Date: Tue, 07 Nov 1995 05:49
19 lines
1344 bytes
Dr.;

>> the lack of virtual copy constructor which would be necessary 
>> to preserve the true type of objects once they are copied in 
>> stl algorithms.

Can't quite see what you mean here. Objects of different "true 
type", i.e. static type, can't be put INTO the same container and 
therefore are not available to algorithms. 
If you want to make copies of objects of unknown types, then you 
will be dealing with smart or stupid pointers in any case. What 
is the STL forcing you to do that you did not have to do 
previously?

   David
---
[ 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: <47mqle$4qf$3@mhafc.production.compuserve.com>
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
References: <ROUQUETT.95Oct29222349@overcat.jpl.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!in2.uu.net!bounce-back
Date: 07 Nov 95 05:49:43 GMT
Approved: fjh@cs.mu.oz.au
From: David Byrden <100101.2547@CompuServe.COM>
Newsgroups: comp.std.c++
Subject: Re: Re: STL Reference book
X-Original-Date: 7 Nov 1995 05:26:06 GMT
Organization: CompuServe, Inc. (1-800-689-0736)
Message-ID: <47mqle$4qf$3@mhafc.production.compuserve.com>
References: <ROUQUETT.95Oct29222349@overcat.jpl.nasa.gov>
X-Auth: PGPMoose V1.1 PGP comp.std.c++
 iQBFAgUBMJ7zgOEDnX0m9pzZAQFn9gGAnFgrfWnq2pBuxGwzdOwCh0+EE22wUP1B
 5TZpCcJXCdjLnsuqIITUrY70kZ6UqtOj
 =cx/+