Daniel James
e58370b4ff
Move emplace before emplace_impl in equivalent.hpp
2016-08-17 12:08:15 +01:00
Daniel James
e92f7d86c1
Remove array_constructor.
...
I was using SFINAE for everything because some old compilers had issues.
But that's hopefully in the distant past now.
2016-08-14 20:55:40 +01:00
Daniel James
93a33ba15f
Remove a couple of unneeded includes.
2016-08-14 20:55:40 +01:00
Daniel James
ad353c8e3d
Move some of the includes up into allocate.hpp
2016-08-14 20:55:40 +01:00
Daniel James
09717ffca4
Remove a few unnecessary internal includes.
2016-08-14 20:55:40 +01:00
Daniel James
ce4b840299
Map/set details types in individual headers.
2016-08-14 20:55:40 +01:00
Daniel James
5a8df0ebe4
Hopefully a bit more readable.
2016-08-14 20:55:40 +01:00
Daniel James
6029d1cfd0
Trim down node_tmp code.
2016-08-14 20:55:40 +01:00
Daniel James
3fe46a1769
Cleaner emplace_impl in equivalent.
2016-08-14 20:55:40 +01:00
Daniel James
5490bcfe95
Remove node_tmp overload of add_node.
2016-08-14 20:55:40 +01:00
Daniel James
078c562b6c
Pull some common code into a function.
2016-08-14 20:55:40 +01:00
Daniel James
88612a8be4
Less faffing around with node_constructor.
2016-08-14 20:55:40 +01:00
Daniel James
37a6903831
Move node construction into allocate.hpp
2016-08-14 20:55:40 +01:00
Daniel James
8017d9e684
Change how node construction works.
...
Split node_constructor into two classes, one for constructing a node
without a value, and then another for holding it once the value is
constructed.
Do the work of constructing values in convenience functions in
allocate.hpp (construct_value_generic, construct_value, construct_pair).
2016-08-14 20:55:40 +01:00
Daniel James
609ae6cb4e
Expand out fill_buckets.
2016-08-14 20:55:40 +01:00
Daniel James
992f9ccf21
Turn off memory sanitizer on travis.
...
It's not working at all.
2016-08-14 20:39:46 +01:00
Daniel James
e250fb44f6
Merge local develop branch develop
...
Oops, I merged the wrong 'develop' branch into master. Luckily, there's
not much of a difference, so I'm resolving the merge here, and will
merge into master soon.
2016-08-14 20:02:13 +01:00
Daniel James
7687c99708
Disable clang c++03 memory sanitizer tests.
2016-08-04 13:35:48 +01:00
Daniel James
81cc773013
Try to fix mem/std11 toolset.
2016-08-04 13:35:48 +01:00
Daniel James
cdb887e880
Clean up a memory leak in a test.
2016-08-04 13:35:47 +01:00
Daniel James
041fee64df
Don't stop Boost.Build on error.
2016-08-04 13:35:46 +01:00
Daniel James
e3dd1f276e
Use clang and gcc's sanitizers in travis.
2016-08-03 14:24:52 +01:00
Daniel James
0769ecd70d
Some more checks.
...
The intel-linux failures I'm getting now are odd. This find test is
failing for iterator, but not const_iterator. So maybe it's a problem
with the iterator object. The failures I was getting before have
disappeared, so I'm not sure about that.
2016-07-29 12:19:50 +01:00
Daniel James
2be69b3eb9
A little more information in the find_tests.
...
Now the intel-linux tester that was failing for erase_tests is passing,
but has started failing for find_tests instead. Oddly the test for
non-const find is failing, but the const find is fine - this doesn't
make much sense as they should be the same. Not sure, but it suggests
the problem might be in the way iterators are handled, rather than the
data structure?
Checking the iterators before checking that the keys are equal in order
to tell which part of the test is failing.
2016-07-27 06:51:05 +01:00
Daniel James
bc601e34d2
More info on test failure on intel-linux.
...
The count check is reporting errors, but everything else appears to work
okay.
2016-07-25 15:03:39 +01:00
Daniel James
6bc57bd398
Typo
2016-07-03 08:46:40 +01:00
Daniel James
1bca2df642
Always explicitly specify standard for travis.
2016-07-03 08:42:25 +01:00
Daniel James
59cbe3d483
Also move exception tests into test/Jamfile.v2
...
Moving the tests successfully restored the test results, so do it for
the exception tests as well.
2016-07-03 08:42:17 +01:00
Daniel James
21f2522695
Try running the tests from unordered/test.
2016-07-02 22:11:43 +01:00
Daniel James
3720b0be58
Try creating a project for test.
...
For some reason the unordered test results are not showing up any more.
This is odd, as when I try locally they do run. I don't know why this
is, but it's possible that it's because there isn't an actual project in
the test directory, so try adding one.
2016-07-01 11:12:29 +01:00
Daniel James
7b8e3d01de
Use argument SFINAE instead of return SFINAE
2016-06-03 00:00:51 +01:00
Daniel James
b4a3c6f460
Fix exception safety in assignment for multimap/multiset.
...
The assignment code seemed like a bit of a premature optimization, I
replaced it with a slightly slower but much simpler implementation.
2016-05-30 15:02:04 +01:00
Daniel James
1d4845d6b8
Stop using predef in test.
2016-05-26 22:39:47 +01:00
Daniel James
c26acdba15
Travis
2016-05-26 22:31:43 +01:00
Daniel James
3f42a56bae
Remove old deprecated warning.
2016-05-26 09:25:10 +01:00
Daniel James
144a0c1791
Remove BOOST_NO_STD_DISTANCE workaround.
2016-05-26 09:24:25 +01:00
Daniel James
cc2b1a1ef1
Stop using deprecated boost::iterator.
2016-05-26 09:24:21 +01:00
Daniel James
f014802eb6
Release note for pull request #4 .
2015-02-22 15:08:46 +00:00
Daniel James
68eb654e7a
Merge pull request #4 from tempoz/patch-2
...
Bounds-check after arithmetic is complete
2014-12-09 01:04:30 +00:00
Zoey Greer
3a507b4e39
Bounds-check after arithmetic is complete
...
double_to_size can return std::numeric_limits<size_t>max(), so we cannot add 1 to the return value of double_to_size. That addition should be done while still working with a double, as can be seen being done on line 850 of this file.
This was uncovered by Coverity, and addresses Coverity issues CID13443 and CID12664
2014-12-08 16:38:38 -05:00
Daniel James
0273ec59d7
Fix Visual C++ 9.0 workaround.
2014-12-03 18:28:40 +00:00
Daniel James
9090d87725
Restore ampersand workaround for Visual C++ 9
2014-11-16 10:01:29 +00:00
Daniel James
8ccde2e5a1
Move the allocators after copying the hash functions.
...
Just in case the hash functions throw.
2014-11-09 23:44:16 +00:00
Daniel James
31211a607f
Remove assertion that used moved allocator. Fixes #10777 .
2014-11-09 23:35:35 +00:00
Daniel James
56ab93d296
Merge pull request #3 from awulkiew/fix/iterators
...
Remove template patameters from friend declarations in interator.
2014-11-09 15:14:02 +00:00
Adam Wulkiewicz
1d8855da27
Remove template patameters from friend declarations in interator<>.
2014-11-09 13:36:27 +01:00
Daniel James
df5a7538b1
Changelog
2014-11-08 22:22:12 +00:00
Daniel James
0cedaf7ad6
Rename iterator typedef to n_iterator.
2014-11-08 22:22:11 +00:00
Daniel James
b4795f414d
Remove unneeded ConstNodePointer template parameters.
2014-11-08 22:22:11 +00:00
Daniel James
2c9d209eef
Remove incorrect changelog note.
...
A minor change that is not actually in this release, will be in the next one.
Probably too late to rebuild the documenation.
2014-11-02 17:35:05 +00:00