Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25642

Enhance UnorderedFastKeyTable

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.12
    • 3.3.11
    • Internal Code
    • None
    • Fully Compatible
    • Platforms 2016-08-26

    Description

      UnorderedFastKeyTable is a pretty good proxy for unordered_map, but lacks a handful of features that dramatically increase usability:

      1. non-const iterators
      2. an emplace variant for values
      3. An easy way to synthesize Traits for Lookup = Key*
      4. a swap function

      This isn't meant to bring the type fully up to snuff, but expands the universe of locations it can be used.

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: