Mail Archives: djgpp/1996/04/05/14:33:46
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 -