History log of /haiku/headers/private/kernel/util/VectorMap.h
Revision Date Author Comments
# 731be7dd 30-Aug-2019 Augustin Cavalier <waddlesplash@gmail.com>

Relicense all of Ingo's BSD/MIT+advertising clause'd code as plain MIT.

Via email:
> I'm fine with re-licensing all code using BSD license + advertising
> clause to MIT license.


# 758b1d0e 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# 9eed5c27 16-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

This fixes all "implicit typename" warnings when compiling with GCC 3.


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


# 960371b7 11-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Replaced <new> with <util/kernel_cpp.h> - this is the kernel.


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


# 83744ac9 01-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added the ImplicitKey entry strategy, which allows the key to be calculated on the fly.


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


# 7e65f8eb 01-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a Vector based map implementation.


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


# 758b1d0e05fe1042cce6e00d194a147802d4f9be 12-Nov-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Fixes that make Haiku build with gcc 4. Mainly out of the following
categories:
* Missing includes (like <stdlib.h> and <string.h>).
* Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so.
* Local variables shadowing parameters.
* Default parameters in function definitions (as opposed to function
declarations).
* All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported
explicitly from the std:: namespace now.
* "new (sometype)[...]" must read "new sometype[...]", even if sometype is
something like "const char *".
* __FUNCTION__ is no longer a string literal (but a string expression), i.e.
'printf(__FUNCTION__ ": ...\n")' is invalid code.
* A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes"
is an invalid expression.
* "friend class SomeClass" only works when SomeClass is known before.
Otherwise the an inner class with that name is considered as friend.
gcc 4 is much pickier about scopes.
* gcc 4 is generally stricter with respect to type conversions in C.



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


# 9eed5c272c0de428790b77c8b80fad3511d6ba07 16-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

This fixes all "implicit typename" warnings when compiling with GCC 3.


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


# 960371b741a8c578158b070e8ce6d5ec6beb3c1a 11-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Replaced <new> with <util/kernel_cpp.h> - this is the kernel.


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


# 83744ac99dd0021b817102c2ebb13ccb05acddc0 01-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added the ImplicitKey entry strategy, which allows the key to be calculated on the fly.


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


# 7e65f8eb29217f416d53e28ba746e9523bc133d9 01-Jul-2003 Ingo Weinhold <ingo_weinhold@gmx.de>

Added a Vector based map implementation.


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