History log of /haiku/headers/private/shared/HashMap.h
Revision Date Author Comments
# fc8e5be1 14-Feb-2019 Augustin Cavalier <waddlesplash@gmail.com>

HashMap: Fix the build with GCC 7.


# cc54b43e 12-Feb-2019 Augustin Cavalier <waddlesplash@gmail.com>

shared: Finish HashSet and fixup HashMap.

Changes are pretty straightforward. The iterator is now const
again, but can be passed to the hash table itself for removal
of the current item.

Change-Id: Ifd3c8096ffb187a183ca5963ed69a256562a524f
Reviewed-on: https://review.haiku-os.org/c/1042
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# eff1e73c 12-Feb-2019 Augustin Cavalier <waddlesplash@gmail.com>

shared: Merge BOpenHashTable in; remove OpenTracker's OpenHashTable.

The HashMap and HashSet classes are copied from userlandfs. The
HashMap one works as-is as it's already used in userlandfs; the
HashSet does not even compile yet.

Change-Id: I1deabb54deb3f289e266794ce618948b60be58c0
Reviewed-on: https://review.haiku-os.org/c/1041
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# 9216fc01 18-Jun-2018 Augustin Cavalier <waddlesplash@gmail.com>

More class/struct mixup fixes.

Spotted by Clang.


# 6e899971 16-Aug-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: avoid warning about returning a value in void context.


# a636d1e3 17-Jul-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Patch by kaliber to fix some compiling errors with clang. Removed the #include <iostream> part, but otherwise not modified.
See http://clang.llvm.org/compatibility.html#c++ why it is needed. Note that HashMap.h Key and Value are typenames as well.
Afaict this is correctly done, builds and runs on gcc4. This fixes #5892.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37550 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41777edb 14-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Make more defined classes visible outside the BPrivate namespace when including
this header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35078 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5174cb1f 06-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added copyless direct value accessors (via Iterator::NextValue(), and
Get()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32154 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acbe544d 03-Aug-2007 Jérôme Duval <korli@users.berlios.de>

to please gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21811 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 075430fa 02-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* put some more useful utility classes into "shared". I tried to make sure
that OpenHashTable.h does not collide with all the other places that this
is used, it seems everything still builds fine. Most problematic could be
the OpenHashTable.h at kernel/util, but it seems it the target using
that are not affected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21792 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e8999717f05b2b88ecd11087fec0b0f0bef86a8 16-Aug-2012 Oliver Tappe <zooey@hirschkaefer.de>

Cleanup: avoid warning about returning a value in void context.


# a636d1e365b1abffccb41dc16ff832e5d577f0aa 17-Jul-2010 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Patch by kaliber to fix some compiling errors with clang. Removed the #include <iostream> part, but otherwise not modified.
See http://clang.llvm.org/compatibility.html#c++ why it is needed. Note that HashMap.h Key and Value are typenames as well.
Afaict this is correctly done, builds and runs on gcc4. This fixes #5892.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37550 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 41777edb47cada37d04f0842f1527250008b7826 14-Jan-2010 Stephan Aßmus <superstippi@gmx.de>

Make more defined classes visible outside the BPrivate namespace when including
this header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35078 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5174cb1f74d3af64780ecf8e94beb68204f2651b 06-Aug-2009 Axel Dörfler <axeld@pinc-software.de>

* Added copyless direct value accessors (via Iterator::NextValue(), and
Get()).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32154 a95241bf-73f2-0310-859d-f6bbb57e9c96


# acbe544d74bc205dfe940f718268499be8073109 03-Aug-2007 Jérôme Duval <korli@users.berlios.de>

to please gcc4


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21811 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 075430faf4a72fec6ff1863c937e62c493e4b95f 02-Aug-2007 Stephan Aßmus <superstippi@gmx.de>

* put some more useful utility classes into "shared". I tried to make sure
that OpenHashTable.h does not collide with all the other places that this
is used, it seems everything still builds fine. Most problematic could be
the OpenHashTable.h at kernel/util, but it seems it the target using
that are not affected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21792 a95241bf-73f2-0310-859d-f6bbb57e9c96