Wednesday, January 13, 2016
STL to transplant symbian, has completed part of a look interested
Accustomed to using STL, so try to STL ported to symbian, now doing relatively rough, simple test it, it seems okay. It has been placed
http://groups.google.com/group/symbian_stl?hl=zh-CN
Above, you can feel free to download, and mingw as is the GPL. With the original version is 3.4.2 version mingw inside band, now almost container can be used, but io and stream, typeinfo, exception is not enough, mainly io part symbian and x86 systems relatively large gap, symbian not support typeinfo and the C ++ standard exception.
Penrillian released some time ago based ustl of ustl-0.9Symbian, it seems to merit is to use less memory. But at least this implementation auto_ptr on symbian is not working properly, if no exception occurs, it seems entirely feasible, but when an exception occurs, such as User :: Leave when the auto_ptr completely effective, all because of the symbian castrated of the C ++, when an exception occurs, the stack unwinding, a destructor object on the stack and the stack will not be called ...... destructor to be called to the essence of what auto_ptr implementation-dependent when unwinding. A reference csdn called ilovevc friends blog, changed a bit, test satisfied.
We hope to have interested friends to participate, regardless of patch, or testing, or investigate, or criticisms are welcome.
Reply:
The road is long, its repair Xi Yuan, you will search up and down.
vector, list, and so on, you can be very direct with STLPort to complete. Only half a day can run up.
However iostream, string, etc., which complexity is unimaginable.
auto_ptr this thing, someone senior programmer in the magazine explored. His method is very good. And feasible. I suggest you google it.
I forgot what year, and I find that an electronic version.
Your memory for symbian A deep understanding ......
admire. Really.
Reply:
I mainly use mingw code transplant, because I think the code STLPort less "clean", which for porting to various platforms and various compilers set macros too much, mingw code because the windows on run, but is prepared for the gcc compiler, so it feels and what needs symbian relatively similar, do not bother a lot of unnecessary macros.
string this thing, has been able to use, and this thing is rather special, I'm wretched string inside the STLPort realization brought directly, and abandoned the mingw inside with string, the specific reasons for the string header file, there are instructions.
auto_ptr is no problem now, I do not know, "programmer" method discussed above is not what I see on the blog ilovevc method, anyway crucial that a few lines of code from ilovevc auto_ptr I learned of the blog, By the way, thank you.
iostream, really complicated enough ......
As I understand symbian memory, I just did a simple test and intuitively - because I'm lazy. If there is something wrong, please correct me, but do not laugh at me ~
Reply:
ding
Reply:
up
Reply:
I have done similar work, free exchange of communication, MSN: zhouqs_1@hotmail.com
Reply:
Weak weak to ask, what will affect the efficiency, it has little impact
A recent streaming media, this problem is more vexing
Reply:
This is not easy to compile ah.
I downloaded from here to the STL, compiled successfully!
http://community.csdn.net/Expert/topic/5287/5287399.xml?temp=.3333399#reply
Reply:
I remember reading this article
on symbian official websiteCreating the C ++ auto_ptr & lt; & gt; utility for Symbian OS
Briefly describes how to use the Leave achieve auto_ptr & lt; & gt;
Similar methods ilovevc I do not know whether you mentioned
Reply:
The landlord STL compilation by the simulator, but with the compiler to pass the GCCE.
I am a novice.
Reply:
LZ cattle ah, learning
Just want to own a project in transplant programs use to stl
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment