Mail Archives: djgpp/2001/04/17/11:21:21
Christo Fogelberg wrote:
>
> Hi all,
> It seems to me that the current version of the STL that DJGPP uses
> doesn't support the vector.at() function - i.e. random access with
> bounds checking :(
> Is that just me? If not, does anyone know when the next 'official' DJGPP
> STL will be released? (I think they use the SGI library?)
> Cheers!
> Christo
First off, please note that the STL implementation you use comes with
gcc and not with DJGPP as such.
Secondly, the STL that comes with gcc (I assume you're using gcc 2.95.2
or later) is fairly outdated.
gcc 3 should have a greatly more standardized STL (several gnu
extensions
I liked were dropped however, such as ostream::form() and the less picky
istream::read()/ostream::write()). Unfortunately, gcc 3 has been in the
"soon to be released" stage for a while now, so I don't know how long
it'll
be before it's available.
If you're adventurous, you could even compile STLPort for DJGPP I
believe
(as I understand it that should work with few problems, but I'm not 100%
sure)
--
Tim Van Holder - Falcon Software N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.
- Raw text -