Commit Graph

624 Commits

Author SHA1 Message Date
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
9e51e23cea Remove some of the old doxygen stuff from the unordered container header files
as I'm not using doxygen.


[SVN r3618]
2007-01-10 00:03:26 +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
13f2fbaf00 Update unordered container links to the new draft standard.
[SVN r2948]
2006-04-30 15:00:11 +00:00
Daniel James
0fcb2d8041 Add cbegin() and cend() from the new draft standard to the unordered containers.
The standard doesn't add them for local iterators, but I'm guessing that's an
oversight. So for now, I've hidden them behind a preprocessor condition. Which
I'll probably remove before review.


[SVN r2944]
2006-04-30 14:11: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
1cbb7f6e57 Re-introduce the non const overloads of begin and end for unordered_set and
unordered_multiset. I thought the proposed resolution for issue 528 allowed
them to be removed, but re-reading it, it only allows signatures that are
'otherwise indistinguishable', and they are not.


[SVN r2923]
2006-04-17 11:06:08 +00:00
Daniel James
e8faab1268 Update the unordered containers' iterator overloads for the more recent versions of TR1.
[SVN r2921]
2006-04-17 08:45:32 +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
78e843f3cb Update the links in the unordered headers.
[SVN r2676]
2005-08-04 22:45:46 +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