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
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. specialization of STL-map

specialization of STL-map

Scheduled Pinned Locked Moved ATL / WTL / STL
c++jsonperformancequestion
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.
  • M Offline
    M Offline
    Mr Brainley
    wrote on last edited by
    #1

    I want to write a specialization of the map-class. I just want to synchronize access to the map in memory, the rest should stay the same. Is there any way to achieve that without completely rewriting the class ? Maybe something like accessing the 'base-class'-method ?

    M 1 Reply Last reply
    0
    • M Mr Brainley

      I want to write a specialization of the map-class. I just want to synchronize access to the map in memory, the rest should stay the same. Is there any way to achieve that without completely rewriting the class ? Maybe something like accessing the 'base-class'-method ?

      M Offline
      M Offline
      Mr Brainley
      wrote on last edited by
      #2

      Got it ! I just have to create a custom map that internally keeps a STL-map. Then i can implement all the functions i need and wrap synchronization around them. It's just too simpel.

      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