www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/05/14:33:46

Date: Fri, 5 Apr 1996 14:18:37 -0500 (EST)
From: Peter Berdeklis <peter AT chinook DOT physics DOT utoronto DOT ca>
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: C++ std <valarray>
In-Reply-To: <Pine.SUN.3.91.960405111652.20066R-100000@is>
Message-ID: <Pine.SGI.3.91.960405140310.27326A-100000@chinook.physics.utoronto.ca>
MIME-Version: 1.0

On Fri, 5 Apr 1996, Eli Zaretskii wrote:
> 
> On Thu, 4 Apr 1996, Peter Berdeklis wrote:
> 
> > I was going to try playing around with the new C++ std numeric array, 
> > valarray, but it turns out that DJGPP doesn't have it.  In fact, neither 
> > does the gcc 2.7.2 on our SGI, so I assume that it's not part of gcc yet.
> 
> Be sure that your lgp271b.zip is dated 21 February or later, then look 
> inside it.  The library libstdcx.a should include all the standard C++ 
> classes.  (The SGI might not have it because libg++ is a separate 
> distribution, gcc doesn't come with it automatically.)
> 
> If your lgp271b.zip is earlier, get the newer one.

I already have the Feb 22 distribution, because you told me to get it 
when I couldn't find STL.  STL is in that distribution, but valarray is 
not.  I also checked libstdcx.a with nm and a grep for 'array', but again 
nothing (not unexpected since it's not declared in any header).

Similarly, auto_ptr is not defined anywhere in lgp271b.zip or on the SGI 
(which does have STL and libg++ 2.7.1), another Draft C++ Std template  
class.  I don't know what else might be missing.

I've already started implementing valarray from the std, and afterwards 
I'll probably make the auto_ptr class as well.  Again I'ld be happy to 
make them available when they're done if someone else doesn't do it first.

Thanks for the reply.

Pete

---------------
Peter Berdeklis
Dept. of Physics, Univ. of Toronto

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019