🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Robert Lister Thu, 26 Oct 1995 23:20
can STL be ported to Cfront?
#2317
Author: Robert Lister
Date: Thu, 26 Oct 1995 23:20
18 lines
1160 bytes
Does anyone have thoughts on how difficult it would be to port STL
to compile on a Cfront compiler?

I have taken a class on STL, so I'm very familiar with the difficulty
even the most compilers have with it.  However, I can't
think of anything fundamental about STL which would preclude
porting it to Cfront.  The lack of default template parameters is the 
only deficiency I know which would affect the STL API, and I could
live with that.

- Bob
-- 
Robert Lister

[ 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. ]
Re: can STL be ported to Cfront?
#2322
Author: Sean A Corfield
Date: Fri, 27 Oct 1995 16:54
22 lines
1338 bytes
In article <46p316$6e7@halley.eng.pyramid.com>,
rlister@pyramid.com (Robert Lister) wrote:

|> Does anyone have thoughts on how difficult it would be to port STL
|> to compile on a Cfront compiler?

It's sufficiently hard that it's worth paying the $149 to buy a commercial
version that has already been ported. There's lots of little features in
STL that won't compile on various Cfront-based compilers (e.g., nested
typedefs in template classes, use of qualified types nested in template
parameters, overloading of function templates etc etc). Also, STL requires
instantiation-on-demand which causes problems with some of the inline
template functions in the source (on some Cfront-based compilers).




---
[ 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. ]
Re: can STL be ported to Cfront?
#2336
Author: Shankar Unni
Date: Sun, 29 Oct 1995 04:17
34 lines
1980 bytes
Robert Lister (rlister@pyramid.com) wrote:

> Does anyone have thoughts on how difficult it would be to port STL
> to compile on a Cfront compiler?

Such a port has been done by ObjectSpace.  Their claim is that it works with
Cfront 3.0 (or is it only 3.0.2?)

From the STL FAQ:

    C. STL<ToolKit>:ObjectSpace at 1-800-OBJECT-1
                most C++ compilers
                code is well documented
              comes with tutorial with over 200 elementary
                        examples that have just been placed in the public
                        domain available via anonymous ftp from
                        butler.hpl.hp.com at
                                /stl/examples.Z or .zip for PC
                These examples are a good place to start.


They have taken Alex's public-domain copy from butler.hpl and modified it
extensively for portability to cfront, efficiency and some ease-of-use
improvements..
--
Shankar Unni				E-Mail:	shankar@sgi.com
Silicon Graphics Inc.			Phone:	+1-415-933-2072
URL:	http://reality.sgi.com/employees/shankar
---
[ 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. ]
quit
bert.lbl.gov/~matt/std-c++/policy.html. ]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads