Daniel James
3ebd8bc9f2
Remove an old macro definition that's no longer relevant.
...
[SVN r38607]
2007-08-12 09:06:26 +00:00
Daniel James
fe9e2728f6
Add missing 'this->' for a couple of template dependant function calls.
...
[SVN r4256]
2007-05-26 00:00:08 +00:00
Daniel James
ef2f5116dd
It is currently proposed that insert, erase and rehash should be stable. Change insert(hint, value) so that it inserts at the end of a group of
...
equivalent keys (all the other functions were already stable).
[SVN r4146]
2007-05-20 17:37:27 +00:00
Daniel James
df1e1598a5
Import latest changes to the unordered containers. Includes:
...
Copyright update.
Switch back to the version where the sentinel points to itself.
Remove alternative versions of swap.
Workaround a borland bug or two.
More consistent use of class/swap/template.
Avoid a few warnings.
Add a no-throw swap to the allocator for exception testing.
[SVN r3793]
2007-03-18 20:00:59 +00:00
Daniel James
8d31c94d9a
Fixed for intel strict mode.
...
[SVN r3736]
2007-02-25 21:09:38 +00:00
Daniel James
add94f8385
Remove some superfluous semi-colons from the unordered container
...
implementation.
[SVN r3619]
2007-01-10 00:04:00 +00:00
Daniel James
70797d159a
New version of the hash table implementation. Hopefully a little clearer with
...
less messing around with allocators and pointers.
[SVN r3491]
2006-12-03 23:11:18 +00:00
Daniel James
905a2dd28a
Simplify the hash table implementation somewhat and avoid an unnecessary copy
...
for maps.
[SVN r3339]
2006-10-31 22:11:25 +00:00
Daniel James
034b97fd23
Refactor and rearrange the unordered containers implementation to try and make
...
it a little more readable. And deal with all the TODOs.
[SVN r3114]
2006-08-06 20:36:29 +00:00
Daniel James
cb578defef
Update copyright.
...
[SVN r3043]
2006-07-01 22:34:48 +00:00
Daniel James
f9907e4a55
Get unordered working on Visual C++ 6.5
...
[SVN r2992]
2006-06-18 13:24:38 +00:00
Daniel James
ff91c72eec
Improved support for Visual C++.
...
[SVN r2985]
2006-06-12 23:30:46 +00:00
Daniel James
653a58f39b
Improve insert.
...
[SVN r2979]
2006-06-11 19:34:30 +00:00
Daniel James
822b0c7ffd
Remove use of compressed_pair for unordered containers.
...
Put a lower bound on the maximum load factor.
[SVN r2958]
2006-05-21 17:10:03 +00:00
Daniel James
9bd73e4ba7
New version of the unordered associative containers, with a more efficient data
...
structure for unordered_multimap/unordered_multiset that uses an extra
pointer per node but makes most operations more efficient when equivalent
nodes are present.
Now uses macros instead of template metaprogramming to implement the
differences between containers with equivalent and unique keys.
Removed the erase_iterator stuff which complicated matters more than it helped.
Now just using pointers with some helper functions.
[SVN r2950]
2006-05-07 13:24:17 +00:00
Daniel James
d3b8b2f38d
Fix a bug in allocator_constructor.
...
[SVN r2949]
2006-05-07 10:06:47 +00:00
Daniel James
ed6df529e4
Remove non-ascii copyright characters and the old filenames from the start of
...
the unordered container headers.
[SVN r2924]
2006-04-17 11:11:49 +00:00
Daniel James
f43b6bb5d8
On compilers without ADL, qualify the call to swap.
...
[SVN r2895]
2006-03-20 20:00:55 +00:00
Daniel James
ee93aad35a
New version of the unordered containers. Includes workarounds for older
...
compilers. Also follows the exception requirements closer.
[SVN r2875]
2006-02-26 18:33:49 +00:00
Daniel James
4c3417468b
Fix a constructor for Visual C++ 6.
...
[SVN r2738]
2005-11-09 21:15:19 +00:00
Daniel James
431c5b76e5
Better results for max_size/max_bucket_count and some fixes for intel in strict
...
mode.
[SVN r2730]
2005-11-05 16:57:31 +00:00
Daniel James
f3b00bc938
Import my latest version of the unordered associative containers.
...
Several changes:
- Makes insert meet its exception specification (but needs some refactoring).
- Some Borland work arounds, but not all there yet, maybe never will be.
- Some extra doxygen comments, but not nearly enough.
- Possibly other things that I'm too lazy to look up.
[SVN r2642]
2005-06-20 21:55:28 +00:00
Daniel James
f6a60033e3
Check in unordered associative containers. I haven't looked at these for ages
...
but they pass my unit tests so they should be okay.
[SVN r2585]
2005-04-24 14:23:24 +00:00