 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ragnar Guest
|
Posted: Fri Nov 26, 2004 11:56 pm Post subject: Symbian and STL |
|
|
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
|
Posted: Sun Nov 28, 2004 2:08 am Post subject: Re: Symbian and STL |
|
|
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
[ 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
|
Posted: Tue Nov 30, 2004 9:58 pm Post subject: Re: Symbian and STL |
|
|
| 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 |
|
 |
|
|
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
|
|