Daniel James
61516be1db
Unordered: Remove use of try..catch.
...
So that it'll work when exceptions are disabled.
[SVN r79679]
2012-07-22 20:14:20 +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
6932a2d571
Unordered: Fix using a C++03 allocator with C++11 compiler.
...
Because the nodes had an implicit constructor, the `has_construct` traits was
detecting that the nodes could be constructed by construction then copy, which
really wasn't wanted. Also add a check that nodes aren't been copy constructed
to make sure this doesn't happen again. Refs #7100 .
[SVN r79358]
2012-07-08 11:55:57 +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
b8d96be8f7
Unordered: Macro to simplifiy variadic/emplace_args creation.
...
[SVN r79351]
2012-07-08 11:53:16 +00:00
Daniel James
68edec9f97
Unordered: Remove old, unused function.
...
[SVN r79350]
2012-07-08 11:52:38 +00:00
Daniel James
39bafd7b10
Unordered: Reapply changes reverted in r78788.
...
[SVN r79163]
2012-06-28 20:58:56 +00:00
Daniel James
0acb4ee3e6
Unordered: Document move insert.
...
Just a quick copy and paste for tonight's documentation build. May edit a bit
before release.
[SVN r78810]
2012-06-04 22:53:43 +00:00
Daniel James
893ebc5adb
Unordered: Don't use std::allocator_traits on Visual C++ 11.
...
[SVN r78789]
2012-06-01 11:06:03 +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
6031b66f99
Unordered: Fix namespaces for renaming in bcp. Refs #6905 .
...
[SVN r78491]
2012-05-17 06:20:55 +00:00
Daniel James
d863f17673
Unordered: Try to fix Sun compile error.
...
The Sun compile tests have started failing, I'm not sure what triggered this,
but it seems to be confused by the various uses of the identifier `node`, so
try renaming the class and see if that improves things.
[SVN r78413]
2012-05-10 21:37:44 +00:00
Daniel James
24c08646f4
Unordered: Fix macros for picking construct/destroy.
...
[SVN r78378]
2012-05-08 11:02:29 +00:00
Daniel James
6604abe600
Unordered: allocator_helpers cleanup.
...
[SVN r78370]
2012-05-07 18:10:27 +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
6b44f3b887
Unordered: Fix destroy to match construct in last commit.
...
[SVN r78368]
2012-05-07 18:09:25 +00:00
Daniel James
cd88cb4a30
Unordered: 'full construct' requires SFINAE expressions.
...
[SVN r78367]
2012-05-07 12:22:24 +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
995ef1efdb
Unordered: Use std::allocator_trait's variadic construct.
...
[SVN r78349]
2012-05-06 12:29:24 +00:00
Daniel James
8cb85937c4
Unordered: Reactivate std::allocator_traits for gcc 4.7, and try for Visual C++ 11
...
[SVN r78348]
2012-05-06 12:28:57 +00:00
Daniel James
e615ac67c2
Unordered: allocator_helpers.hpp was moved.
...
[SVN r78347]
2012-05-06 12:28:05 +00:00
Daniel James
401df0f2fb
Unordered/Hash: Release notes.
...
[SVN r78318]
2012-05-03 21:35:51 +00:00
Daniel James
531f6804ad
Unordered: Disable std::allocator_traits on gcc for now.
...
[SVN r78166]
2012-04-23 20:52:08 +00:00
Daniel James
d5230a874b
Unordered: Rejig some of the emplace_args macro code. Refs #6784
...
This is a bit cleaner and will hopefully fix the Sun problems.
[SVN r77972]
2012-04-14 17:32:28 +00:00
Daniel James
030fd55d02
Unordered: Pull forward declarations out of detail/fwd.hpp
...
[SVN r77835]
2012-04-08 15:30:35 +00:00
Daniel James
626bb48013
Unordered: Use iterators in more of the implementation methods.
...
[SVN r77834]
2012-04-08 15:30:14 +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
Daniel James
4e759b4444
Unordered: Call policy functions as static functions.
...
[SVN r77831]
2012-04-08 15:28:26 +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
2fed2fbd9e
Unordered: Hashing policy for 64 bit computers.
...
[SVN r77066]
2012-02-18 15:47:59 +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
2aee3add16
Unordered: Remove some of the smaller primes.
...
There's quite a high chance of collisions for these values.
[SVN r76969]
2012-02-11 12:33:02 +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