?
Solved

C++ cast and STL

Posted on 1997-03-04
1
Medium Priority
?
201 Views
Last Modified: 2010-04-10
Does Sun C++ v4.1 compiler support C++ cast (static_cast, dynamic_cast, etc..) and STL?  If yes, how can I get it to work on my SPARC workstation?
0
Comment
Question by:phan030397
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
yonat earned 300 total points
ID: 1162131
You can get the SGI STL port that works with SunPro C++ v4.1 (and
other compilers) from:
http://www.ipmce.su/people/fbp/stl/stlport.html
You "get it to work" by extracting all the files to some
directory, and adding this directory to your include path.
About the casts: I know const_cast is supported, so I imagine
that the other casts are supported too.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question