🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Q: Where to get an implementation of STL

#2205
From: John Max Skaller
Date: Mon, 16 Oct 1995 08:50
47 lines
2409 bytes
matt@godzilla.EECS.Berkeley.EDU (Matt Austern) wrote:
>In article <VANDEVOD.95Oct11203807@avs.cs.rpi.edu> vandevod@cs.rpi.edu (David Vandevoorde) writes:
>
>> Vaguely related:
>> 
>> Q. Is there a free implementation available of the valarray templates?
>> A. Not that I (we?) know of, but approximate implementations are
>>    available from:
>> 	ftp://ftp.cs.rpi.edu/pub/vandevod/Valarray
>>    Non-commercial use is free.
>
>Which reminds me: I've heard rumors that there are known problems with
>the current definition of valarrays, that they don't actually solve
>the aliasing problems that they were supposed to.  I know no details.
>Has anyone else heard anything of this sort, and, if so, can you
>provide any specific information?
>
>If this is true, of course, then we can expect the final form of
>valarrays to differ from what we've seen in the draft standard.

There are a couple of proposals to change valarray floating
around at present: an extension to support a parameter 
controlling allocation category, and a proposal to replace
valarray with an STL container adaptor. Possibly these will
end up combined, and possibly it is too late in the standards
process for anything to change at all.

AFIK the existing valarray has appropriate constraints to
allow optimisations based on no aliasing, however there is
some concern that naive implementations will create
unnecessary copies of things.


-- 
John Max Skaller               voice: 61-2-566-2189
81 Glebe Point Rd              fax:   61-2-660-0850
GLEBE NSW 2037                 email: maxtal@suphys.physics.oz.au
AUSTRALIA                      email: skaller@maxtal.com.au




---
[ 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: <45t2hv$6nn@oznet03.ozemail.com.au>
Path: arc1-ca.pugleaf.net!news.duke.edu!agate!agate!Matt
References: <JLM.95Oct10155424@ludo.two-oo-one.fr> <VANDEVOD.95Oct11203807@avs.cs.rpi.edu> <MATT.95Oct13114414@godzilla.EECS.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.duke.edu!agate!agate!Matt
From: John Max Skaller <maxtal@suphys.physics.su.oz.au>
Newsgroups: comp.std.c++
Subject: Re: Q: Where to get an implementation of STL
Date: 16 Oct 1995 08:50:46 GMT
Organization: MAXTAL
Approved: Matt@Austern
Message-ID: <45t2hv$6nn@oznet03.ozemail.com.au>
References: <JLM.95Oct10155424@ludo.two-oo-one.fr> <VANDEVOD.95Oct11203807@avs.cs.rpi.edu> <MATT.95Oct13114414@godzilla.EECS.Berkeley.EDU>
NNTP-Posting-Host: austern.hip.berkeley.edu