Daniel James
9c82e48bc9
Support for char16_t, char32_t, u16string, u32string
2017-05-31 22:19:54 +01:00
Daniel James
1b3bed82aa
Initial support for char32_t
2017-05-31 10:17:34 +01:00
Daniel James
ab9f98455a
Fix cast issue in poor_quality_tests
...
The comparison in the if statement and the test didn't match, which I
think is why this test was sometimes failling. But should still try to
write something that will work for floats.
2016-11-18 15:14:04 +00:00
Daniel James
7159a86166
Only support std::wstring when wchar_t is available
...
This hopefuly fixes #8552 .
https://svn.boost.org/trac/boost/ticket/8552
2016-11-18 15:13:46 +00:00
Daniel James
d0ee8e13bd
Support for removed function objects in C++17
...
std::unary_function and std::binary_function are removed in C++17, and
Visual C++ is the first compiler to do this (when the appropriate macro
is defined). I'm not sure what the long term solution should be, but
hopefully this will work for now.
2016-11-01 16:31:21 +00:00
Daniel James
618fc6d074
Remove -Wsign-conversion, old gcc doesn't support it.
2016-10-05 13:46:24 +01:00
Daniel James
5a811f25aa
Add -Wsign-conversion to flags
2016-10-05 09:42:18 +01:00
Daniel James
1e6cefbfeb
More clang warnings
2016-09-30 09:25:44 +01:00
Daniel James
b0ddb244be
Fix signed conversion warnings.
2016-09-30 09:25:44 +01:00
Daniel James
5856bff480
Move all hash tests into a single directory.
2016-06-26 20:28:17 +01:00
Daniel James
c8d8c7edd4
Fix some warnings in test/example code.
2016-05-30 15:20:52 +01:00
Daniel
99d4923496
Add test for strings of null character.
...
They're working, but wanted to make that explicitly clear.
2016-02-28 09:11:19 +00:00
Daniel James
e5f3356742
Hash: Stop using -strict-ansi for Intel.
...
It doesn't seem to be compatible with C++11.
[SVN r82060]
2012-12-17 23:38:35 +00:00
Daniel James
9721f9c764
Hash: Safer macro names in tests.
...
[SVN r82059]
2012-12-17 23:37:56 +00:00
Daniel James
0e0906b0a4
Hash: Support boost::int128_type.
...
[SVN r81816]
2012-12-10 10:40:44 +00:00
Daniel James
67ad8c2151
Hash: Detab.
...
[SVN r81787]
2012-12-08 09:19:24 +00:00
Daniel James
be4292842d
Hash: Stop using warnings as errors for Visual C++.
...
I'd like to get full test results for Visual C++ with STLport.
[SVN r81712]
2012-12-04 22:23:20 +00:00
Daniel James
473b1da8de
Hash: Avoid some intel warnings in tests.
...
It doesn't have the GCC warning pragma, and doesn't like compiling the integer
tests with floats (used to compile them, but never use them).
[SVN r81679]
2012-12-02 21:12:38 +00:00
Daniel James
7f7ecfc717
Hash: Extra test to check different platform's floating point functions.
...
[SVN r81210]
2012-11-05 18:33:54 +00:00
Daniel James
853a713cf2
Remove deprecated header boost/functional/detail/container_fwd.hpp
...
[SVN r80288]
2012-08-28 17:43:05 +00:00
Daniel James
eec47991f9
Hash: A single unified algorithm for hashing floats.
...
Attempts to automatically use a binary hash for floats where it's known to
work, and then use the generic hash algorithm as a fallback.
[SVN r80177]
2012-08-24 22:52:42 +00:00
Daniel James
f1de575546
Hash: Clean up some unit tests.
...
- Remove some unnecessary headers.
- Try to fix warning in enum tests.
- Compile tests + hash namespace in enum tests.
[SVN r80154]
2012-08-23 12:18:18 +00:00
Daniel James
05f16beaf0
Hash: Quick attempt at supporting enums.
...
Thanks to Filip Konvička.
[SVN r80139]
2012-08-22 11:40:27 +00:00
Daniel James
92fe67f714
Compile error for deprecated header boost/functional/detail/container_fwd.hpp.
...
[SVN r79652]
2012-07-22 07:15:34 +00:00
Daniel James
5ebe3ad87d
Hash: Fix smart pointer macro check.
...
[SVN r79527]
2012-07-15 07:43:40 +00:00
Daniel James
411ac66581
Hash: std::shared_ptr, std::unique_ptr support.
...
[SVN r79516]
2012-07-14 22:32:29 +00:00
Marshall Clow
af3a31090c
Switch from deprecated macros to new shiny ones; no functionality change
...
[SVN r79392]
2012-07-09 20:12:04 +00:00
Daniel James
806abd0ddf
Hash: Only use typeid when available.
...
[SVN r78755]
2012-05-29 19:41:19 +00:00
Daniel James
0d4c55854b
Add warning to deprecated header boost/functional/detail/container_fwd.hpp.
...
Should have done this years ago, removing this header should make
modularization a tad bit cleaner.
[SVN r78533]
2012-05-21 21:58:18 +00:00
Daniel James
8bc410f571
Hash: Use SFINAE to avoid implicit casts to numbers.
...
[SVN r78391]
2012-05-08 22:24:46 +00:00
Daniel James
5611f4238e
Unordered: Avoid -Wshadow warnings. Refs #6190 .
...
[SVN r78364]
2012-05-07 10:57:35 +00:00
Daniel James
f3229da836
Hash: fix tests for older C++0x libraries.
...
[SVN r78165]
2012-04-23 20:51:21 +00:00
Daniel James
98953a28c7
Hash: Support std::array and std::tuple. Refs #6806 .
...
[SVN r78144]
2012-04-22 19:46:28 +00:00
Daniel James
f98a942e2e
Unordered/hash: Avoid a gcc warning. Refs #6771
...
[SVN r77832]
2012-04-08 15:29:15 +00:00
Daniel James
8c0e9a2b09
Run some tests without BOOST_HASH_NO_IMPLICIT_CASTS.
...
[SVN r69854]
2011-03-11 18:19:23 +00:00
Daniel James
664522596f
Remove shared_ptr fail test since it now supports Boost.Hash
...
[SVN r69853]
2011-03-11 18:17:48 +00:00
Daniel James
7dc95d044d
Support typeindex in hash. Refs #4756 .
...
[SVN r68145]
2011-01-14 03:13:39 +00:00
Daniel James
ad614b3d5f
Move tests for container_fwd.hpp into detail.
...
[SVN r67667]
2011-01-04 23:30:22 +00:00
Daniel James
ed598f865e
Fix tabs and files without copyright.
...
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James
482f038837
Avoid -Wconversion warnings in unordered & hash.
...
[SVN r67170]
2010-12-11 14:43:00 +00:00
Daniel James
982b350d71
Remove some 'always_show_run_output' flags.
...
[SVN r66566]
2010-11-14 11:42:58 +00:00
Daniel James
906f632706
Actually, make the change to hash opt-in, rather than opt-out. It's a bit late to introduce a breaking change.
...
[SVN r64007]
2010-07-14 08:17:48 +00:00
Daniel James
38d131c158
Fix inspect issues.
...
[SVN r63762]
2010-07-08 20:48:30 +00:00
Daniel James
2553a5fbdc
Try preventing static casts when calling hash_value.
...
[SVN r63716]
2010-07-06 23:32:37 +00:00
Daniel James
f544265741
Give up on warnings-as-errors for gcc for now.
...
[SVN r61113]
2010-04-06 20:14:12 +00:00
Daniel James
733422d1b9
Remove optimization which causes 0.5 to hash to 0. Refs #4038 .
...
I have an internal requirement the 0 hashes to 0, a better solution
might be to remove that, put the optimization back and hash 0 to another
value. Or alternatively, use the main combine function instead.
[SVN r60805]
2010-03-24 08:49:00 +00:00
Daniel James
77f856e3cf
Remove deprecated macros for hash and unordered's tests.
...
[SVN r59708]
2010-02-16 22:33:10 +00:00
Daniel James
e042170fb9
Missing newline.
...
[SVN r59365]
2010-01-30 09:30:04 +00:00
Daniel James
316b1aa9f0
Don't foward declare containers when using gcc's parallel library and
...
add a macro to disable forward declaration. Fixes #3866 .
[SVN r59282]
2010-01-27 19:32:39 +00:00
Daniel James
98f0f11423
Turn warnings as errors back on.
...
[SVN r58949]
2010-01-12 18:51:59 +00:00