Peter Dimov
|
5ba74cd3a9
|
Update hash_value for pointers to handle the case when uintptr_t is larger than size_t
|
2022-07-03 23:35:46 +03:00 |
|
Peter Dimov
|
c14d3a1e2b
|
Add a comment explaining why to_underlying isn't used in hash_value for enums
|
2022-07-03 21:08:14 +03:00 |
|
Peter Dimov
|
a3cac265b1
|
Disable examples/template.cpp for msvc-8.0
|
2022-07-03 20:28:28 +03:00 |
|
Peter Dimov
|
c28d0b813b
|
Directly cast to size_t all integrals no wider than size_t
|
2022-06-26 01:25:45 +03:00 |
|
Peter Dimov
|
e39bf42dfc
|
Update hash_string_test2.cpp
|
2022-06-15 22:56:57 +03:00 |
|
Peter Dimov
|
58502fddca
|
Add hash_container_test.cpp
|
2022-06-15 22:52:56 +03:00 |
|
Peter Dimov
|
5701dd3119
|
Merge branch 'master' into develop
|
2022-06-14 15:38:19 +03:00 |
|
Peter Dimov
|
53c12550fa
|
Define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING in hash_reference_values.cpp (refs #23)
|
2022-06-14 14:42:22 +03:00 |
|
Peter Dimov
|
561cc5d010
|
Merge branch 'master' into develop
|
2022-06-13 14:26:03 +03:00 |
|
Peter Dimov
|
bdf4bfe910
|
Disable C4996 in hash_complex_test.cpp (refs #23)
|
2022-06-13 14:05:35 +03:00 |
|
Peter Dimov
|
06e1b613f0
|
Add benchmark/char_seq.cpp
|
2022-06-08 17:48:06 +03:00 |
|
Peter Dimov
|
12be64b71e
|
Update benchmark/unordered.cpp
|
2022-06-08 14:18:28 +03:00 |
|
Peter Dimov
|
4e2811c4e1
|
Add old_boost_hash to benchmark/unordered.cpp
|
2022-06-07 02:33:18 +03:00 |
|
Peter Dimov
|
2dc57b745f
|
Output number of collisions in benchmark/unordered.cpp
|
2022-06-07 02:08:00 +03:00 |
|
Peter Dimov
|
de618bf974
|
Add benchmark/unordered.cpp
|
2022-06-06 22:45:49 +03:00 |
|
Peter Dimov
|
87c9eefe6e
|
Add ubuntu-22.04 to posix-cmake jobs
|
2022-06-04 18:17:35 +03:00 |
|
Peter Dimov
|
98bbd2ba56
|
Disable hash_fs_path_test for msvc-14.0 cxxstd=latest
|
2022-06-04 15:53:54 +03:00 |
|
Peter Dimov
|
08ea1677be
|
Disable -Wshadow and -Wconversion for the fs path tests because of gcc-4.8
|
2022-06-04 14:25:47 +03:00 |
|
Peter Dimov
|
3d3350646f
|
Disable use of <filesystem> under MinGW (fails on GHA)
|
2022-06-04 14:19:01 +03:00 |
|
Peter Dimov
|
884ce4b708
|
Disable -Wsign-conversion for GCC 8
|
2022-06-04 02:01:50 +03:00 |
|
Peter Dimov
|
db1e23b611
|
Disable -Wsign-conversion for GCC in hash_reference_values.cpp
|
2022-06-04 01:49:26 +03:00 |
|
Peter Dimov
|
5ddcd7c8e7
|
Disable detail_is_range_test2.cpp under CMake
|
2022-06-03 22:44:32 +03:00 |
|
Peter Dimov
|
0e2e911df5
|
Attempt to fix -Wsign-conversion warnings under some GCC versions
|
2022-06-03 22:43:04 +03:00 |
|
Peter Dimov
|
b3c9b35a13
|
Disable -Wc99-extensions for Clang
|
2022-06-03 21:38:02 +03:00 |
|
Peter Dimov
|
c9c77cb104
|
Update warning suppressions
|
2022-06-03 20:59:41 +03:00 |
|
Peter Dimov
|
873a60d009
|
Disable -Wvariadic-macros for Clang as well
|
2022-06-03 20:19:01 +03:00 |
|
Peter Dimov
|
b8d315fac5
|
Update is_range, disable -Wvariadic-macros for GCC
|
2022-06-03 20:14:07 +03:00 |
|
Peter Dimov
|
e0e86a1413
|
Add detail_is_range_test2.cpp
|
2022-06-03 20:01:26 +03:00 |
|
Peter Dimov
|
866bd60dd3
|
Reject ranges that have themselves as their value_type (e.g. filesystem::path)
|
2022-06-03 19:52:03 +03:00 |
|
Peter Dimov
|
6781cff622
|
Add hash_fs_path_test.cpp
|
2022-06-03 19:31:33 +03:00 |
|
Peter Dimov
|
dd605d0d1c
|
Link CMake tests to Boost::utility
|
2022-05-30 03:05:54 +03:00 |
|
Peter Dimov
|
dd172db079
|
Remove infinity special cases for libstdc++
|
2022-05-30 02:52:22 +03:00 |
|
Peter Dimov
|
e04ca1f442
|
Match floating point hash values in 32 bit mode
|
2022-05-30 02:35:00 +03:00 |
|
Peter Dimov
|
0eada2ae93
|
Revert hash_combine for floats
|
2022-05-30 02:26:12 +03:00 |
|
Peter Dimov
|
943ef0ab82
|
Avoid -Wconversion with is_signed and enums
|
2022-05-30 02:19:54 +03:00 |
|
Peter Dimov
|
14f8934bff
|
Revert integral hashing
|
2022-05-30 01:57:56 +03:00 |
|
Peter Dimov
|
f08204e29a
|
Revert hash_value for std::complex
|
2022-05-29 21:59:17 +03:00 |
|
Peter Dimov
|
7ad0365048
|
Merge branch 'develop' into feature/refresh
|
2022-05-12 18:00:03 +03:00 |
|
Peter Dimov
|
b3e424b650
|
Add gcc-12, clang-13, clang-14 to GHA
|
2022-05-11 22:23:41 +03:00 |
|
Peter Dimov
|
d2986d9a64
|
Test boost::core::string_view in hash_string_test2
|
2022-04-29 02:01:46 +03:00 |
|
Peter Dimov
|
000276988f
|
Add hash_string_test2
|
2022-04-28 21:13:23 +03:00 |
|
Peter Dimov
|
355603c0c2
|
Update ci.yml
|
2022-03-09 16:36:40 +02:00 |
|
Peter Dimov
|
33cd0a5964
|
Merge pull request #21 from cmazakas/doc-fixes
Doc fixes
|
2022-02-09 00:06:51 +02:00 |
|
Peter Dimov
|
3800d712d5
|
Merge pull request #20 from cmazakas/qbk-cleanup
Remove unneeded QuickBook and sample files from docs
|
2022-02-08 01:36:02 +02:00 |
|
Peter Dimov
|
143a55ea3b
|
Add doc/.gitignore
|
2022-02-05 02:13:07 +02:00 |
|
Peter Dimov
|
4ab431f12f
|
Update index.html
|
2022-02-05 02:12:27 +02:00 |
|
Peter Dimov
|
9bdebb3df4
|
Merge branch 'develop' into feature/refresh
|
2021-10-19 17:37:20 +03:00 |
|
Peter Dimov
|
e9ffeceeab
|
Merge branch 'develop' into feature/reference
|
2021-10-19 01:57:24 +03:00 |
|
Peter Dimov
|
4a685b2b16
|
Add address-model=32 tests to ci.yml
|
2021-10-19 01:07:05 +03:00 |
|
Peter Dimov
|
8315ec2ba7
|
Comment out (uint128)-1 test under GCC 9 and below
|
2021-10-18 03:20:23 +03:00 |
|
Peter Dimov
|
1a4888cdb4
|
Add (uint128)-1 comment
|
2021-10-18 03:01:41 +03:00 |
|
Peter Dimov
|
9e938aca41
|
Revert "Update (uint128)-1 test"
This reverts commit cab5c6c8d7.
|
2021-10-18 03:00:17 +03:00 |
|
Peter Dimov
|
7abcf22762
|
Update long double infinity reference values for 32 bit GCC-like without fpclassify
|
2021-10-18 02:38:25 +03:00 |
|
Peter Dimov
|
dbb410b7ef
|
Update long double reference values for 32 bit GCC
|
2021-10-18 02:31:06 +03:00 |
|
Peter Dimov
|
cab5c6c8d7
|
Update (uint128)-1 test
|
2021-10-18 02:21:58 +03:00 |
|
Peter Dimov
|
526e4d472d
|
Add reference values for std::complex
|
2021-10-18 02:16:50 +03:00 |
|
Peter Dimov
|
fca37b0d43
|
Fix long double infinity
|
2021-10-18 01:11:24 +03:00 |
|
Peter Dimov
|
0a795c62a3
|
Update (uint128)-1 and long double infinity values
|
2021-10-18 00:55:31 +03:00 |
|
Peter Dimov
|
4ff953b568
|
Fix clang
|
2021-10-18 00:37:46 +03:00 |
|
Peter Dimov
|
cfbc94b128
|
Update infinity reference values
|
2021-10-18 00:15:16 +03:00 |
|
Peter Dimov
|
f0bed67909
|
Update long double values for g++ 64 bit
|
2021-10-18 00:01:15 +03:00 |
|
Peter Dimov
|
1c27af1e2e
|
Add hash_reference_values.cpp
|
2021-10-17 23:54:39 +03:00 |
|
Peter Dimov
|
ebac66dc1e
|
Print hash_info output in ci.yml
|
2021-10-17 20:22:06 +03:00 |
|
Peter Dimov
|
f0e75dd010
|
Reenable clang-win in appveyor.yml
|
2021-10-17 20:20:57 +03:00 |
|
Peter Dimov
|
5959103346
|
Extend __GNUC__ warning suppression to __clang__
|
2021-10-17 20:13:56 +03:00 |
|
Peter Dimov
|
3c3948ccdb
|
Take care of size_t -> int warnings under g++ 4.8
|
2021-10-17 19:54:23 +03:00 |
|
Peter Dimov
|
998d8da8c8
|
Disable warning in test/check_float_funcs.cpp
|
2021-10-17 19:54:12 +03:00 |
|
Peter Dimov
|
bdc2840738
|
Update test/Jamfile
|
2021-10-17 19:52:16 +03:00 |
|
Peter Dimov
|
56f790d896
|
Add hash_integral_test.cpp
|
2021-10-17 19:36:53 +03:00 |
|
Peter Dimov
|
355c1cd7a4
|
Add hash_number_test2
|
2021-10-17 19:28:51 +03:00 |
|
Peter Dimov
|
c9b2d6fc90
|
Reenable clang-win in appveyor.yml
|
2021-10-17 19:08:15 +03:00 |
|
Peter Dimov
|
2424ada9f9
|
Bias integral values so that small integers hash to themselves even when having a wide type
|
2021-10-17 19:03:15 +03:00 |
|
Peter Dimov
|
faea988310
|
Revert change to hash_number_test.cpp
|
2021-10-17 17:49:10 +03:00 |
|
Peter Dimov
|
64c367734d
|
Print hash_info output in ci.yml
|
2021-10-17 16:45:40 +03:00 |
|
Peter Dimov
|
6d84f9a41b
|
Print size_t and floating point widths in hash_info
|
2021-10-17 16:43:02 +03:00 |
|
Peter Dimov
|
aaa1f441ac
|
GCC 32 bit under Windows has an 80 bit long double in 12 bytes, not 16
|
2021-10-17 16:17:44 +03:00 |
|
Peter Dimov
|
3487450f62
|
Add CMake tests to ci.yml
|
2021-10-17 08:46:35 +03:00 |
|
Peter Dimov
|
8f163568f4
|
Add test/CMakeLists.txt
|
2021-10-17 08:37:07 +03:00 |
|
Peter Dimov
|
a4cbaa95b3
|
Regenerate CMakeLists.txt
|
2021-10-17 08:35:11 +03:00 |
|
Peter Dimov
|
6ffc99adb7
|
Update test/Jamfile
|
2021-10-17 08:22:24 +03:00 |
|
Peter Dimov
|
bb99a2b1ae
|
Leave detail/limits.hpp a stub; update test
|
2021-10-17 08:15:10 +03:00 |
|
Peter Dimov
|
f05e8840d2
|
Remove float support files
|
2021-10-17 08:14:35 +03:00 |
|
Peter Dimov
|
dff8843bb2
|
Remove unnecessary include
|
2021-10-17 07:52:03 +03:00 |
|
Peter Dimov
|
15ae39e176
|
Implement floating point hashing inline in hash.hpp
|
2021-10-17 07:47:34 +03:00 |
|
Peter Dimov
|
39e4a4f184
|
Switch to type_traits/enable_if to eliminate the Core dependency
|
2021-10-17 07:10:47 +03:00 |
|
Peter Dimov
|
88fbad7438
|
Remove Borland workarounds
|
2021-10-17 04:00:10 +03:00 |
|
Peter Dimov
|
0737c56fec
|
Move boost::hash into hash.hpp, delete specializations
|
2021-10-17 03:54:41 +03:00 |
|
Peter Dimov
|
2b9251069f
|
Move std::tuple support to detail/hash_tuple.hpp
|
2021-10-17 02:40:29 +03:00 |
|
Peter Dimov
|
a63c85007f
|
Move std::unique_ptr, std::shared_ptr support into hash.hpp
|
2021-10-17 02:14:19 +03:00 |
|
Peter Dimov
|
7a29dee42a
|
Move std::pair support into hash.hpp
|
2021-10-17 02:11:51 +03:00 |
|
Peter Dimov
|
a0a6fa0616
|
Move std::complex support to hash.hpp
|
2021-10-17 02:03:50 +03:00 |
|
Peter Dimov
|
fe66085fbc
|
Add hash_forward_list_test.cpp
|
2021-10-17 01:15:01 +03:00 |
|
Peter Dimov
|
24598bd45f
|
Take care of g++ warning on 4294967291
|
2021-10-17 00:47:28 +03:00 |
|
Peter Dimov
|
7f2a43226e
|
Take care of size_t -> int warnings under g++ 4.8
|
2021-10-17 00:31:08 +03:00 |
|
Peter Dimov
|
668f28660d
|
Disable warning in test/check_float_funcs.cpp
|
2021-10-17 00:17:01 +03:00 |
|
Peter Dimov
|
9348a89fb4
|
Fix msvc-14.1 errors caused by their unconstrained stdext::hash_value overload (!)
|
2021-10-17 00:09:20 +03:00 |
|
Peter Dimov
|
3f2612d36e
|
Update test/Jamfile, turn warnings-as-errors=on, fix g++ warning
|
2021-10-16 22:22:29 +03:00 |
|
Peter Dimov
|
3cf502b34c
|
Add generic hash_value functions for ranges to hash.hpp, remove those from extensions.hpp
|
2021-10-16 22:12:31 +03:00 |
|
Peter Dimov
|
b2e3beea3f
|
Remove unnecessary warning suppression
|
2021-10-16 21:02:28 +03:00 |
|
Peter Dimov
|
d308495a67
|
Add detail/is_unordered_range.hpp
|
2021-10-16 21:01:07 +03:00 |
|