-
April 28th, 2011, 05:07 PM
#1
Internal implementation of stil iterators
I am very confused as to what an iterator implementation looks like ?
Does the class have a pointer ?
When we say that the iterators are tied in with the containers, does it mean that every container has a private member which of type iterator ?
I am trying to practice how all the stl containers and algorithms are implemented internally
Last edited by hiralrajani@gmail.com; April 30th, 2011 at 09:44 AM.
-
April 28th, 2011, 05:11 PM
#2
Re: Internal implementation of stil iterators
Please pardon the subject it should be stl instead of stil.. I dont know how to go back and edit the header..
-
April 28th, 2011, 08:31 PM
#3
Re: Internal implementation of stil iterators
Have you checked the source code? Its all templated and in header files supplied with your compiler.
Get Microsoft Visual C++ Express here or CodeBlocks here.
Get STLFilt here to radically improve error messages when using the STL.
Get these two can't live without C++ libraries, BOOST here and Loki here.
Check your code with the Comeau Compiler and FlexeLint for standards compliance and some subtle errors.
Always use [code] code tags [/code] to make code legible and preserve indentation.
Do not ask for help writing destructive software such as viruses, gamehacks, keyloggers and the suchlike.
Tags for this Thread
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
|