Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. STL map and multimap implementation

STL map and multimap implementation

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++data-structures
2 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AkashAg
    wrote on last edited by
    #1

    Hi All, I have some questions in mind about map and multimap. 1) I know that STL use height-balanced-binary-search tree for MAP implementation but what is actually used for multimap. 2) multimap can also use the same thing with a list in each node for a key. Am I right? 3) How do I give a iterator functionality in a tree structure as in maps and multimaps as in tree it's hard to go through data sequentially. It will be very helpful if these questions can be answered. BR, Akash

    A 1 Reply Last reply
    0
    • A AkashAg

      Hi All, I have some questions in mind about map and multimap. 1) I know that STL use height-balanced-binary-search tree for MAP implementation but what is actually used for multimap. 2) multimap can also use the same thing with a list in each node for a key. Am I right? 3) How do I give a iterator functionality in a tree structure as in maps and multimaps as in tree it's hard to go through data sequentially. It will be very helpful if these questions can be answered. BR, Akash

      A Offline
      A Offline
      AkashAg
      wrote on last edited by
      #2

      It will be very much appreciated if someone can throw some light on this.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups