C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Symbian and STL

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated)
View previous topic :: View next topic  
Author Message
Ragnar
Guest





PostPosted: Fri Nov 26, 2004 11:56 pm    Post subject: Symbian and STL Reply with quote



Hi

Does anyone have any idea on why Symbian doesn't use STL ? And if I
port a STL version, are there any systemic issues with its C++
compiler port that would make this difficult to do ?

Thanks & Regards
Ragnar

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]
Back to top
Daniel James
Guest





PostPosted: Sun Nov 28, 2004 2:08 am    Post subject: Re: Symbian and STL Reply with quote



In article news:<9c9f486f.0411260412.5b67d45d (AT) posting (DOT) google.com>,
Ragnar wrote:
Quote:
Does anyone have any idea on why Symbian doesn't use STL ?

One reason is that Symbian OS was designed using a (now) very old
version of gcc that did not correctly (or at all?) support
exceptions, so Symbian OS does not use exceptions but has its own
error reporting mechanism using functions that "leave" on error.

ISTRT there is a library implementing a subset of STL for Symbian
(Google for it) but implementing a full, compliant, STL is not
possible without exceptions.


Daniel James | djng
Sonadata Limited, UK | at sonadata
Quote:
dot co dot uk



[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
John Torjo
Guest





PostPosted: Tue Nov 30, 2004 9:58 pm    Post subject: Re: Symbian and STL Reply with quote



Quote:
Does anyone have any idea on why Symbian doesn't use STL ?

One reason is that Symbian OS was designed using a (now) very old
version of gcc that did not correctly (or at all?) support
exceptions, so Symbian OS does not use exceptions but has its own
error reporting mechanism using functions that "leave" on error.

Yes, those functions that end in L and LC - how awful!

And the "two phase construction" approach. My experience with Symbian
(about 1 year ago) left a bad taste on my mouth. Until they clean-up
their code (at least allow for C++ exceptions), I'm not touching
Symbian again.

Best,
John



--
John Torjo, Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- http://www.torjo.com/win32gui/
-- v1.6 - documentation, bitmap buttons, tab dialogs, lite html

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ Language (Moderated) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.