Internal implementation of stil iterators
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Internal implementation of stil iterators

  1. #1
    Join Date
    Oct 2010
    Posts
    2

    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 10:44 AM.

  2. #2
    Join Date
    Oct 2010
    Posts
    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..

  3. #3
    Join Date
    Nov 2008
    Location
    England
    Posts
    748

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center