Daniel James
cfd4bacc2c
Stop using BOOST_DEDUCED_TYPENAME
...
We no longer support any of the compilers that require it. I'd be very
surprised if anything was working on them.
2018-01-27 09:39:59 +00:00
Daniel James
f7665a2743
Another attempt to fix insert_exception_tests on Visual C++ 7.1
...
Try extracting the nested template structs.
2018-01-20 08:57:56 +00:00
Daniel James
e64c5b34df
Try to fix insert_exception_tests on Visual C++ 7.1
...
It doesn't seem to like the nested template structs. If this doesn't work, I'll
try moving them into the top level.
2018-01-17 10:24:07 +00:00
Daniel James
0676b4f4ca
Change clang format indentation + .editorconfig file
2017-06-11 20:55:59 +01:00
Daniel James
76e7322262
Use streams from lightweight test
2017-05-10 19:02:47 +01:00
Daniel James
1b0b38a519
try_emplace, insert_or_assign exception tests
2017-05-07 18:47:59 +01:00
Daniel James
9119a42b7d
Factor insert_exception_tests for better code reuse
2017-05-07 18:47:24 +01:00
Daniel James
8af4b37d14
Rewrite insert exception tests
...
Not going to do this for all the tests. It's more effort than I
expected.
2017-05-07 17:54:34 +01:00
Daniel James
597eb5a3fd
Repeat the assign/insert exception tests a few times
2017-05-06 04:47:59 +01:00
Daniel James
47a8c3fc67
Fix exception handling in rehash_impl
...
And improve tests so they will catch the error, and other similar errors.
2017-05-04 19:30:18 +01:00
Daniel James
bf5ef9824d
Reformat with clang-format
2017-02-19 13:05:17 +00:00
Daniel James
b2f2fdc2f3
Prevent clang-format sorting some test includes
2017-02-19 13:05:17 +00:00
Daniel James
57cc6d4bac
Fix exception safety when constructing pairs
2017-01-01 18:35:50 +00:00
Daniel James
74abdd6973
Replace boost::next with a simpler version
...
Less optimized, but hopefully it won't cause any warnings.
2016-10-11 13:36:41 +01:00
Daniel James
a316d3fa46
Fix more warnings
2016-10-11 10:07:07 +01:00
Daniel James
98462fbcc3
Avoid conversion warning.
2016-10-01 13:53:05 +01:00
Daniel James
1c606980ec
Update tests for standard changes involving bucket count.
...
It seems my defect report was accepted at some point, and they tweaked
the requirements involving bucket counts. This also makes it possible to
have a bucket count of 0, which I think wasn't allowed in the past. I
don't think I'll change this implementation to do so, but I'd like to be
able to run these tests against standard implementations, so I'm
starting to take that into account.
I believe these changes were made after the C++14 standard, but I've
always been tracking the draft standards, so that doesn't really matter.
2016-09-18 12:22:48 +01:00
Daniel James
10049f8325
Unordered: Missing final newlines.
...
[SVN r81761]
2012-12-07 17:05:36 +00:00
Marshall Clow
1bd3b029fa
Removed usage of deprecated macros
...
[SVN r81563]
2012-11-26 17:47:12 +00:00
Daniel James
2e26534659
Unordered: Improved exception test thing.
...
Allows repetition of exception tests + separate running the tests so that
different tests types or configurations can be mixed up.
[SVN r81030]
2012-10-21 00:20:07 +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
275b03e76b
Unordered: Avoid -Wshadow
warnings. Refs #6190 .
...
[SVN r78364]
2012-05-07 10:57:35 +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
e594f1eda7
Remove deprecated macros for hash and unordered's tests.
...
[SVN r59708]
2010-02-16 22:33:10 +00:00
Daniel James
71096f4d26
Formatting changes, mostly to fit within 80 characters.
...
Also, some C casts converted to static_cast.
[SVN r58692]
2010-01-04 22:49:39 +00:00
Daniel James
18a5010436
Remove use of iterator_adaptor in unordered tests.
...
[SVN r58144]
2009-12-04 19:44:34 +00:00
Daniel James
7023460394
Suppress a warning that's in the windows mobile system headers.
...
[SVN r57963]
2009-11-26 23:15:30 +00:00
Daniel James
3882a61065
Inspect fixes.
...
[SVN r57838]
2009-11-21 19:40:28 +00:00
Daniel James
4601f5c51f
Stricter insert exception tests.
...
[SVN r56559]
2009-10-03 16:41:11 +00:00
Daniel James
7bc588d8df
Fix the insert tests when there is a small number of buckets.
...
[SVN r55099]
2009-07-22 22:37:52 +00:00
Daniel James
04234cecee
Use lightweight_test for unordered.
...
[SVN r53314]
2009-05-27 17:44:09 +00:00
Daniel James
638accbec4
Update copyright dates in hash and unordered.
...
[SVN r51667]
2009-03-09 20:56:23 +00:00
Daniel James
94932ae026
Merge support for emplace for compilers with rvalue references and variadic templates arguments, and better use of C++0x allocators.
...
Merged revisions 44058-44075,44078-44084,44086-44108,44110-44365,44367,44369-44414,44416-44419,44421-44457,44467-44469,44471-44511,44513-44535,44537-44737 via svnmerge from
https://svn.boost.org/svn/boost/branches/unordered/trunk
................
r44467 | danieljames | 2008-04-16 18:35:56 +0100 (Wed, 16 Apr 2008) | 2 lines
Add C++-0x support to the test allocators.
................
r44468 | danieljames | 2008-04-16 18:36:06 +0100 (Wed, 16 Apr 2008) | 2 lines
Add a C++-0x node_constructor.
................
r44469 | danieljames | 2008-04-16 18:36:16 +0100 (Wed, 16 Apr 2008) | 2 lines
C++-0x constructor for node.
................
r44516 | danieljames | 2008-04-17 21:41:48 +0100 (Thu, 17 Apr 2008) | 16 lines
Merge in my work so far on implementing emplace for compilers with variadic
template & rvalue references.
Merged revisions 44059-44062 via svnmerge from
https://svn.boost.org/svn/boost/branches/unordered/dev
........
r44059 | danieljames | 2008-04-05 17:41:25 +0100 (Sat, 05 Apr 2008) | 1 line
First stab at implementing emplace - only for compilers with variadic template & rvalue references.
........
r44062 | danieljames | 2008-04-05 19:12:09 +0100 (Sat, 05 Apr 2008) | 1 line
Better variable template arguments, need to add proper support to BoostBook.
........
................
r44616 | danieljames | 2008-04-20 13:30:19 +0100 (Sun, 20 Apr 2008) | 1 line
Merge with trunk, fixes tabs.
................
r44618 | danieljames | 2008-04-20 13:42:38 +0100 (Sun, 20 Apr 2008) | 2 lines
Some extra compile tests.
................
r44619 | danieljames | 2008-04-20 13:42:50 +0100 (Sun, 20 Apr 2008) | 2 lines
Fix an error message.
................
r44703 | danieljames | 2008-04-21 20:19:50 +0100 (Mon, 21 Apr 2008) | 15 lines
Merge latest changes from trunk.
Merged revisions 44616-44702 via svnmerge from
https://svn.boost.org/svn/boost/trunk
........
r44650 | danieljames | 2008-04-20 22:08:57 +0100 (Sun, 20 Apr 2008) | 1 line
Update an include.
........
r44697 | danieljames | 2008-04-21 16:55:40 +0100 (Mon, 21 Apr 2008) | 1 line
Factor out the code for choosing the bucket count, and which bucket that hash values map to make it easier to experiment with alternative policies.
........
................
r44733 | danieljames | 2008-04-23 07:55:43 +0100 (Wed, 23 Apr 2008) | 2 lines
Remove 'reserve_extra'.
................
r44734 | danieljames | 2008-04-23 07:55:55 +0100 (Wed, 23 Apr 2008) | 2 lines
More unnecessary copy tests - showing some weakness in the emplace implementation.
................
r44735 | danieljames | 2008-04-23 07:56:06 +0100 (Wed, 23 Apr 2008) | 2 lines
More tests.
................
r44736 | danieljames | 2008-04-23 07:56:19 +0100 (Wed, 23 Apr 2008) | 2 lines
Comment out a test which requires a C++0x std::pair.
................
r44737 | danieljames | 2008-04-23 07:56:35 +0100 (Wed, 23 Apr 2008) | 2 lines
Avoid creating unnecessary copies in unordered_set::emplace and unordered_map::emplace.
................
[SVN r44738]
2008-04-23 07:09:58 +00:00
Daniel James
9cfee57633
Use Boost.Test's minimal test library for unordered & hash. It's closer to
...
Boster.Test which makes it easier to switch to take advantage of Boost.Test's
extra testing facilities.
Merged revisions 44420 via svnmerge from
https://svn.boost.org/svn/boost/branches/unordered/trunk
........
r44420 | danieljames | 2008-04-14 19:02:03 +0100 (Mon, 14 Apr 2008) | 1 line
Use Boost.Test's minimal test library.
........
[SVN r44487]
2008-04-17 07:39:24 +00:00
Daniel James
6aa582a90e
Merged revisions 43838-43894 via svnmerge from
...
https://svn.boost.org/svn/boost/branches/unordered/trunk
........
r43840 | danieljames | 2008-03-24 17:25:07 +0000 (Mon, 24 Mar 2008) | 1 line
Fix a g++ warning.
........
r43844 | danieljames | 2008-03-24 17:56:28 +0000 (Mon, 24 Mar 2008) | 1 line
It's a new-ish year.
........
r43885 | danieljames | 2008-03-27 20:36:10 +0000 (Thu, 27 Mar 2008) | 1 line
The release script doesn't need to copy images and css - because that's now done in the jamfiles. Also tweak the shell script a tad bit.
........
r43890 | danieljames | 2008-03-27 23:01:40 +0000 (Thu, 27 Mar 2008) | 1 line
Starting to add a docbook bibliography.
........
r43894 | danieljames | 2008-03-27 23:24:18 +0000 (Thu, 27 Mar 2008) | 1 line
Redeclare 'data' in iterator_base to help compilers which have trouble with accessing the nested typedef.
........
[SVN r43895]
2008-03-27 23:38:01 +00:00
Daniel James
be93c29493
Merge the latest unordered changes. These are concerned with getting the tests
...
working on more compilers. The biggest change is that the exception tests have
been changed to use a very simple exception testing mechanism on top of
lightweight_test. This was because Boost.Test exception testing isn't working
on several platforms. I'm trying to set this up so that I can use Boost.Test on
compilers which it completely supports, and lightweight test on others.
Boost.Test tests more than my simple exception testing code ever will so it's
worth using where I can.
[SVN r42698]
2008-01-12 14:43:40 +00:00
Daniel James
9d7411840e
Merge latest unordered developments:
...
Make simple_test test a little more.
Use doubles for calculating max load factor.
Some workarounds, mostly for Borland and running the tests.
[SVN r42666]
2008-01-10 22:30:46 +00:00
Daniel James
474b70528b
Rename the exception tests so that they don't clash with the normal tests.
...
[SVN r42572]
2008-01-07 19:40:32 +00:00