Commit Graph

326 Commits

Author SHA1 Message Date
Daniel James
b3df9afd7a Remove the note about issue 560, as it has been marked NAD (not a defect).
[SVN r4147]
2007-05-20 17:40:15 +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
bd1477fa25 Add a couple of notes about the updated issues/proposals in the post-Oxford mailing (more to come...)
[SVN r4145]
2007-05-20 16:48:52 +00:00
Daniel James
434a0c8021 And change release.sh so it deletes the copy of itself with the new name.
[SVN r4141]
2007-05-19 20:17:29 +00:00
Daniel James
81787f114f Rename release => release.sh to make it clear that it's a shell script.
[SVN r4140]
2007-05-19 20:16:07 +00:00
Daniel James
e73b90fa86 ** empty log message **
[SVN r4139]
2007-05-19 20:04:14 +00:00
Daniel James
50d3138552 Add the build and documentation source files required for building the
standalone unordered containers.


[SVN r4046]
2007-05-13 19:23:03 +00:00
Daniel James
1365ff3c96 ** empty log message **
[SVN r4045]
2007-05-13 19:05:02 +00:00
Daniel James
452ab8cf30 Remove use of quickbook 1.4 features from unordered container documentation,
so it'll build with quickbook 1.3 (will put them back soon-ish).


[SVN r3995]
2007-05-02 23:59:14 +00:00
Daniel James
507cc3c059 Fix an odd encoding error in the unordered containers reference.
[SVN r3994]
2007-05-02 23:57:09 +00:00
Daniel James
ec240d22ed Stop using Boost.Random as it doesn't support all the platforms I do. The new
code (using std::rand) needs work, but I want to get this in before the sandbox
is converted to subversion.


[SVN r3993]
2007-05-01 21:24:48 +00:00
Daniel James
3e532104d2 Rename some pointer classes to avoid shadowing them in the test allocator.
[SVN r3992]
2007-05-01 21:22:01 +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
12f1e037a8 Add an beefed up example of using a custom predicate and hash function to make
unordered_map case insensitive.


[SVN r3622]
2007-01-10 00:08:41 +00:00
Daniel James
7468336d3a Making use of the new quickbook import feature.
[SVN r3621]
2007-01-10 00:07:33 +00:00
Daniel James
f979c07d2e Check that exceptions thrown when swapping meet the exception requirements.
[SVN r3620]
2007-01-10 00:06:55 +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
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
8d8f9e1942 Add a test that unnecessary copies aren't made of objects inserted.
Make the exception tests track the allocator usage.
Speed up the exception tests a bit.


[SVN r3490]
2006-12-03 23:08:17 +00:00
Daniel James
ec310f7b80 Update the unordered tests. Several changes including extra erase tests. The newer version of the containers have a hairy erase implementation, so need to test all the special cases. Also, a few extra tests here and there, avoid a couple of warnings and remove some old TODOs.
[SVN r3341]
2006-10-31 22:19:26 +00:00
Daniel James
136e2fe3ba Documentation tweaks.
[SVN r3340]
2006-10-31 22:15:47 +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
5c32477723 Actually, on second thoughts, I think I might have been right before. I'll
revert it for now.


[SVN r3119]
2006-08-06 20:52:33 +00:00
Daniel James
a40fb486cc Change the copyright for the unordered container documentation, just my name
since I wrote all the documentation (I think I misunderstood the semantics
before).


[SVN r3118]
2006-08-06 20:47:34 +00:00
Daniel James
8f96a08523 Add some more implementation details.
[SVN r3117]
2006-08-06 20:46:06 +00:00
Daniel James
10c5150f39 Clean up the docbook reference somewhat, and add a note about how only iterator
overload is need for insert and erase for containers with unique keys.


[SVN r3116]
2006-08-06 20:44:47 +00:00
Daniel James
828dbe5078 Test inserting and constructing from input iterators.
Check thrown exception types properly.
Return by reference from 'get_key' so that the keys aren't copied.


[SVN r3115]
2006-08-06 20:42:45 +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
ef5dda10a7 Starting to add examples for using the unordered container library.
[SVN r3046]
2006-07-02 22:54:20 +00:00
Daniel James
ce6b35d9e2 Clean up the rationale a little, and add a description of the choices made for the data structure.
[SVN r3045]
2006-07-02 22:28:35 +00:00
Daniel James
f2c7ae0fc7 Filled in the comparison between associative containers and unordered
containers. Now needs to be paired back down.


[SVN r3044]
2006-07-02 12:59:54 +00:00
Daniel James
cb578defef Update copyright.
[SVN r3043]
2006-07-01 22:34:48 +00:00
Daniel James
f6222b10e2 Fill in more of the unordered container documentation.
[SVN r3042]
2006-07-01 22:33:29 +00:00
Daniel James
e9e503be3f Update the copyright for the documentation Jamfile.
[SVN r3041]
2006-07-01 22:32:46 +00:00
Daniel James
dd2ea72220 Update the copyright in the unordered container tests.
[SVN r3040]
2006-07-01 22:31:26 +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
58dda15273 Improved support for testing on older versions of gcc.
Link tests.
Plus more...


[SVN r2980]
2006-06-11 19:42:55 +00:00
Daniel James
653a58f39b Improve insert.
[SVN r2979]
2006-06-11 19:34:30 +00:00
Daniel James
fbd37a946b More tests for unordered associative containers.
[SVN r2959]
2006-05-21 17:14:11 +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
1be8ab0d30 Add some tests for the unordered associative containers.
[SVN r2954]
2006-05-17 17:19:16 +00:00
Daniel James
1301d774e0 Add a small note about testing allocators.
[SVN r2953]
2006-05-17 17:15:26 +00:00
Daniel James
e33f1b21d6 Update the container compile tests to include cbegin/cend. And add the
copyright notice.


[SVN r2952]
2006-05-17 17:09:47 +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
b082192870 Fix some mistakes in the rehash documentation.
[SVN r2947]
2006-04-30 14:25:33 +00:00