Slimelite BBS

Re: stl

Back to EMULATE

From Chris Downs · 1996-04-07 19:14 · #73643 in EMULATE

In reply to stl by Mike Bilow

 CD> It [STL] certainly won't be an "any compiler" deal.  For MS, you
 CD>  need

 DM> Let's see what I have to use...
 DM> GNU EMX (hey, it's free, I ain't giving up my EMX! <G>)
 DM> Watcom 10.5(A)
 DM> MSVC++ 1.52*, and possibly 4.xx later
 DM> Borland 4.52*, and possibly 5.0 later

 You've got to have at least 4.0 for the VC version.  I've seen
 "ported to Watcom" STL's over in the file sections of your better
 BBS's which implies to me that STL "straight from the box" won't
 work with at least some versions of Watcom.  Nelson talks about the
 couple of things you have to do with Borland to make it work.  I got
 no gnus on gnu.

 DM> The reason we didn't use Borland's templated
 DM> containers was so that it would compile under both Borland and
 DM> MSVC++... :-/

 VC4.0 and better seem to understand templates pretty good.

 DM> I've heard that there isn't a problem with Watcom.  I was also under
 DM> the impression that STL was 'designed' for Borland.
 
 I don't know.  Whatever STL was "designed for", it would have been
 for a compiler with good template support.  It's possible that 16 vs
 32 bit apps were a primary design decision because of the close
 linking of allocators and the rest.

 CD>  Take the time to learn how to use STL.

 DM> I'm convinced.  Where do I sign?  <G>
 
 To steal the Nike ad, just do it.

---
 þ Blue Wave/QWK v2.12 þ

--- WILDMAIL!/WC v4.12 
 * Origin:   (1:100/4.0)