]> sourceware.org Git - systemtap.git/commit
Provide backward-compatible unordered_map/set
authorJosh Stone <jistone@redhat.com>
Wed, 2 Sep 2009 23:43:58 +0000 (16:43 -0700)
committerJosh Stone <jistone@redhat.com>
Thu, 3 Sep 2009 00:13:14 +0000 (17:13 -0700)
commit64deb08509bf9682e7d3b8141399c5603edb2df2
tree08618088f11078f203a98c00c5ac225a69b68738
parentaca66a36681ac7cbf7fcc2eac4dafc83d6559ef9
Provide backward-compatible unordered_map/set

We were defining our own stap_map with a ::type to let us use typedefs
to use the new unordered_map if available, or hash_map otherwise.  Since
unordered_map is the future direction, I'm changing our code to use that
directly.  The backward-compatible version is a #define to hash_map,
which has a compatible interface.

While I'm at it, let's also define unordered_multimap, unordered_set,
and unordered_multiset.

* unordered.h: New.
* dwflpp.h (stap_map): Removed.
  (cache typedefs): Use the unordered name now.
dwflpp.h
unordered.h [new file with mode: 0644]
This page took 0.026276 seconds and 5 git commands to generate.