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. Managed C++/CLI
  4. STL map = Hashtable, what about STL multimap?

STL map = Hashtable, what about STL multimap?

Scheduled Pinned Locked Moved Managed C++/CLI
c++htmlcomquestion
5 Posts 3 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.
  • D Offline
    D Offline
    devvvy
    wrote on last edited by
    #1

    STL map = Hashtable, what about STL multimap? Equivalent? STL Reference[^] Thanks a bunch.

    C K 2 Replies Last reply
    0
    • D devvvy

      STL map = Hashtable, what about STL multimap? Equivalent? STL Reference[^] Thanks a bunch.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      There isn't one

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      D 1 Reply Last reply
      0
      • C Christian Graus

        There isn't one

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        D Offline
        D Offline
        devvvy
        wrote on last edited by
        #3

        Hi Chris, thanks. Any reason why there isn't an equivalent in .NET ICollection[[^](http://.NET ICollection)]? I use Hashtable quite often... but I suppose there're application for multimap too...?

        C 1 Reply Last reply
        0
        • D devvvy

          Hi Chris, thanks. Any reason why there isn't an equivalent in .NET ICollection[[^](http://.NET ICollection)]? I use Hashtable quite often... but I suppose there're application for multimap too...?

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          My guess is that the C# team wanted to keep it simple, that appears to be their overall ratonale. I love associative containers, I use them all the time.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          1 Reply Last reply
          0
          • D devvvy

            STL map = Hashtable, what about STL multimap? Equivalent? STL Reference[^] Thanks a bunch.

            K Offline
            K Offline
            kuibing
            wrote on last edited by
            #5

            MFC's CMap = HashTable. STL map = Red-Black Tree.

            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