|
-
August 3rd, 2010, 10:12 AM
#14
Re: A question regarding *s++
 Originally Posted by monarch_dodra
The real problem is that you implemented post-increment as pre-increment, breaking standard conventions and assumptions.
I'm pretty sure 4 or 5 people will tell you the same in a 5 minute time span.
I thank you very much for pointing out my error. It was a very old issue (maybe 16 years old) and I am very glad that I now know the solution.
But I would like to ask the question... why are you implementing a string type anyway? Why not use std::string?
I am using std::string since 2003. The various string classes I made are all older than 10 years where STL wasn't available for all compilers or were not allowed to be used in projects.
Private string classes can have a much better functionality than std::string. Especially for streaming, editable substrings and codeset support. The (only?) disadvantage is that they were not available with the compiler and must be installed (and be allowed) at each new platform.
Regards, Alex
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|