575 Commits
Author SHA1 Message Date
Daniel James 0ce212b5aa When allocators aren't equal, use a slow swap.
[SVN r42102]
2007-12-16 13:17:44 +00:00
Daniel James feded72da6 Add the missing 'at_tests.cpp'. It's a bit rubbish, but most of the
implementation details are tested elsewhere.


[SVN r41807]
2007-12-06 21:37:22 +00:00
Daniel James 73bc8b397c Remove extra warning flags - if tested against boost 1.34 they result in far too
many warnings (mostly due to Boost.Hash). Against trunk there are currently
no warnings.


[SVN r41785]
2007-12-06 12:19:03 +00:00
Daniel James 6e8f9e1c67 Seed the random number generator in tests.
[SVN r41782]
2007-12-06 11:42:28 +00:00
Daniel James c013d15c16 Remove some minor TODOs. These were more notes to myself than anything.
[SVN r41779]
2007-12-06 11:40:11 +00:00
Daniel James f0c62d3f0f Test, implement and document 'at'.
[SVN r41125]
2007-11-16 00:31:12 +00:00
Daniel James da30fb101a Remove some unused variables.
[SVN r40722]
2007-11-03 16:45:49 +00:00
Daniel James 50c629dcb0 Change insert/erase as specified in n2369, the implementation and tests.
I accidently only checked in the documentation from these changes in the
last check in. This contains the rest of it.


[SVN r39950]
2007-10-11 23:49:31 +00:00
Daniel James 36f4508019 Run most of the unordered container tests (not the exception tests) on warning
level 4 on Visual C++.


[SVN r38648]
2007-08-14 09:55:30 +00:00
Daniel James 6eaf45a0b0 Add the -Wsign-promo flag to the unordered tests on gcc.
[SVN r38566]
2007-08-10 12:01:11 +00:00
Daniel James f11b2272e4 Change a comment.
[SVN r7459]
2007-07-17 23:19:33 +00:00
Daniel James aabf1a408b Improve the unordered tests support for some older compilers.
Better testing of elements with equivalent keys.


[SVN r7458]
2007-07-17 23:17:21 +00:00
Daniel James 6af2b965bb Use a portable hash_value in insert_stable_tests in order to support compilers
without ADL.


[SVN r7384]
2007-07-07 09:42:56 +00:00
Daniel James c5b86a0ff8 Remove a couple of pointless comparisons.
[SVN r4257]
2007-05-26 00:00:54 +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 e73b90fa86 ** empty log message **
[SVN r4139]
2007-05-19 20:04:14 +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 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 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 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 fbd37a946b More tests for unordered associative containers.
[SVN r2959]
2006-05-21 17:14:11 +00:00
Daniel James 1be8ab0d30 Add some tests for the unordered associative containers.
[SVN r2954]
2006-05-17 17:19:16 +00:00