Daniel James
8f8ea09ce8
Unordered: Fix bug when erasing a range, refs #7471 .
...
[SVN r80894]
2012-10-07 08:19:01 +00:00
Daniel James
556adc1de1
Unordered: Fix the Visual C++ 11 version number.
...
[SVN r80768]
2012-09-30 08:29:26 +00:00
Daniel James
3f060a70d1
Unordered: Fix unnecessary_copy_tests + extra tests.
...
It looks the odd result in unnecessary_copy_tests on Visual C++ 11 is not a
bug, but add some extra tests just to make sure. Also some extra rehash and
reserve testing thrown in.
[SVN r80705]
2012-09-26 08:09:26 +00:00
Daniel James
d6322718f3
Unordered: A bit more feedback from unnecessary_copy_tests
...
[SVN r80635]
2012-09-22 18:32:22 +00:00
Daniel James
53f278312f
Unordered: Get rid of get_start.
...
[SVN r80561]
2012-09-17 18:59:03 +00:00
Daniel James
37d58e84e3
Unordered: Fix creating extra node when resizing.
...
[SVN r80518]
2012-09-13 19:50:31 +00:00
Daniel James
ec6219fe13
Unordered: Fix incorrect assertion.
...
[SVN r80508]
2012-09-12 21:09:39 +00:00
Daniel James
e68f0c341e
Unordered: Fix object counts in tests.
...
[SVN r80417]
2012-09-06 08:49:43 +00:00
Daniel James
f47f0f8d16
Unordered: Fix some issues with the tests.
...
[SVN r80416]
2012-09-05 23:33:22 +00:00
Daniel James
b6b54610c6
Unordered: Repeat assign tests several times.
...
[SVN r80411]
2012-09-05 19:02:04 +00:00
Daniel James
c0faf59a86
Unordered: De-template constructor for allocator2 from allocator.
...
Sun is failing one of the tests because it isn't using it implicitly.
[SVN r80276]
2012-08-28 08:04:51 +00:00
Daniel James
a822b27efc
Unordered: Weaken requirements in compile tests.
...
Assigning a container requires that its elements can be assignable. Could split
the tests up so that other tests aren't assignable, but it doesn't seem worth
the hassle.
[SVN r80228]
2012-08-25 21:56:16 +00:00
Daniel James
f1e716d897
Unordered: Stronger assign testing.
...
[SVN r80227]
2012-08-25 21:55:46 +00:00
Daniel James
612d68eecd
Unordered: More invariant testing.
...
In case there are elements in buckets that aren't in the element list. Required
because the data structure has changed since the original implementation.
[SVN r80226]
2012-08-25 21:55:18 +00:00
Daniel James
aefea862c2
Unordered: Two exception testing allocators.
...
For different C++11 properties.
[SVN r80225]
2012-08-25 21:54:50 +00:00
Daniel James
2e11fd8a86
Unordered: Test number of copies and moves for moves on all compilers.
...
Mainly because I want to get more info on the odd test failure for Visual C++
11. I expect that with move emulation these results could vary considerably,
and since I've only tested with gcc and clang so far, it's quite likely that
this test will now fail for other compilers.
[SVN r80200]
2012-08-25 12:52:31 +00:00
Daniel James
5be71a0e90
Unordered: Output stages in at_tests.
...
Getting a memory deallocation error from Sandia's linux c++11 clang. Add some
trace output to see if it gives a clue where it's going wrong.
[SVN r79793]
2012-07-29 07:18:35 +00:00
Daniel James
7c968fd38d
Unordered: Avoid an MSVC warning.
...
[SVN r79651]
2012-07-22 07:14:42 +00:00
Daniel James
4a066e4b18
Unordered: Fix unnecessary_copy_tests for MSVC10
...
Compilers with rvalue references can avoid creating a node, as they can use the
value from the rvalue reference to check if the value is already in the
container (in this case it is) before creating the node. Could possibly do the
same for compilers without rvalue references, if it can get a value out of
Boost.Move's rvalue reference emulation.
[SVN r79503]
2012-07-14 16:45:54 +00:00
Marshall Clow
0fccd93e29
Switch from deprecated macros to new shiny ones; no functionality change
...
[SVN r79396]
2012-07-09 22:08:01 +00:00
Daniel James
f387994422
Unordered: Test with more allocators.
...
Causes some C++11 failures....
[SVN r79357]
2012-07-08 11:55:35 +00:00
Daniel James
958b1d468f
Unordered: Reduce the amount of meta-stuff in the tests.
...
Some of this was there for older compilers, some is just premature
generalization. There's still too much metaprogramming, but these are things
that are relatively easy to remove.
[SVN r79356]
2012-07-08 11:55:10 +00:00
Daniel James
f5292fd9f7
Unordered: Simplify the object count stuff.
...
[SVN r79355]
2012-07-08 11:54:47 +00:00
Daniel James
ada08d9459
Unordered: Turn off warnings-as-errors.
...
Getting spurious failures for gcc 4.0 and 4.8. It's more hassle than it's
worth.
[SVN r79354]
2012-07-08 11:54:21 +00:00
Daniel James
9a284b4106
Unordered: Remove some junk from the end of memory.hpp
...
[SVN r79353]
2012-07-08 11:54:01 +00:00
Daniel James
98083078a3
Unordered: Remove malloc_allocator.
...
It was originally introduced because of some issues with Boost.Test and older
compilers, neither of which I'm using now. Simplifies a few things.
[SVN r79352]
2012-07-08 11:53:39 +00:00
Daniel James
39bafd7b10
Unordered: Reapply changes reverted in r78788.
...
[SVN r79163]
2012-06-28 20:58:56 +00:00
Daniel James
7158700502
Unordered: Revert unmerged changes in trunk.
...
So that I can fix issues in the beta.
[SVN r78788]
2012-06-01 11:03:22 +00:00
Daniel James
1eac47a275
Unordered: Use Boost.Move in a few more places.
...
Should be better for compilers with variadic parameters, but no rvalue
references. If such a thing ever exists.
[SVN r78536]
2012-05-21 22:15:33 +00:00
Daniel James
c6f0175c79
Unordered: Combine emplace_args + allocator_helpers.
...
[SVN r78535]
2012-05-21 22:14:59 +00:00
Daniel James
39aed02e32
Unordered: Check that reserve works for both range and single element insert.
...
[SVN r78369]
2012-05-07 18:10:04 +00:00
Daniel James
32dc45b7bd
Unordered: Implement reserve. Refs #6857 .
...
[SVN r78365]
2012-05-07 10:58:32 +00:00
Daniel James
275b03e76b
Unordered: Avoid -Wshadow warnings. Refs #6190 .
...
[SVN r78364]
2012-05-07 10:57:35 +00:00
Daniel James
e64f82ed03
Unordered: Fix equality for multimap/multiset.
...
[SVN r77833]
2012-04-08 15:29:49 +00:00
Daniel James
c8c71d0ad1
Unordered/hash: Avoid a gcc warning. Refs #6771
...
[SVN r77832]
2012-04-08 15:29:15 +00:00
Marshall Clow
9f199eaa23
Updated Boost.Unordered to use BOOST_NO_0X_HDR_INITIALIZER_LIST instead of (soon to be deprecated) BOOST_NO_INITIALIZER_LISTS
...
[SVN r77154]
2012-03-02 16:43:58 +00:00
Daniel James
29d63e378b
Unordered: Remove unnecessary typename.
...
Oddly, newer versions of gcc don't complain about it.
[SVN r77043]
2012-02-16 20:53:45 +00:00
Daniel James
8a1a475c58
Unordered: Use container's allocator_traits for old Visual C++.
...
[SVN r77017]
2012-02-14 23:55:09 +00:00
Daniel James
08230efb44
Unordered: Use C++11 allocator_traits with gcc 4.7.
...
[SVN r76970]
2012-02-11 12:33:25 +00:00
Daniel James
f6b8d3957d
Unordered: Remove unnecessary typename.
...
[SVN r76906]
2012-02-05 23:21:45 +00:00
Daniel James
992cc0b077
Unordered: Some C++11 allocator_traits fixes.
...
Can now be used with g++ 4.7. Not activating by default yet.
[SVN r76893]
2012-02-05 08:45:52 +00:00
Daniel James
2f92b12205
Unordered: Missing include in test header.
...
[SVN r76892]
2012-02-05 08:45:31 +00:00
Daniel James
2e80a82554
Unordered: Fix undefined macro warnings. Refs #6522 .
...
Just removing the rv reference stuff in extract_keys. I don't it's
needed anyway.
[SVN r76891]
2012-02-05 08:44:22 +00:00
Daniel James
51d2e2564e
Unordered: Add tests for when Boost.Move is activated.
...
[SVN r76415]
2012-01-11 22:23:49 +00:00
Daniel James
2665090568
Unordered: Use Boost.Move for variadic forwarding.
...
[SVN r76331]
2012-01-06 08:36:43 +00:00
Daniel James
d70fcb8c25
Unordered: Make using Boost.Move optional.
...
[SVN r76330]
2012-01-06 08:35:51 +00:00
Daniel James
ac0a2fe6c9
Fix 'occurred' in iostreams and unordered. Refs #6003
...
[SVN r76144]
2011-12-24 19:00:08 +00:00
Daniel James
21f1fe8185
Unordered: Try to avoid warning from boost/cstdint.hpp.
...
[SVN r75607]
2011-11-22 22:13:12 +00:00
Daniel James
aeea8e05ad
Unordered: Fix gcc warning and re-enable warnings-as-errors for gcc.
...
[SVN r75599]
2011-11-21 23:21:11 +00:00
Daniel James
087962c16e
Unordered: Fix move tests where moving returned values is not supported.
...
The propagate on move tests were failing because the values were being
copied not moved - so the container was check propagate on copy instead.
Because those tests are now weaker, and some new ones that will
hopefully work.
[SVN r74914]
2011-10-11 08:37:06 +00:00