Commit Graph
1301 Commits
Author SHA1 Message Date
LeonineKing1199 8f1fc75fdf Implement heterogeneous find() 2021-11-29 14:37:04 -08:00
Peter Dimov d3c37344f0 Vary top 24 bits of shifted indices instead of top 32 bits 2021-11-29 17:37:26 +02:00
Peter Dimov 5e8b6a9e55 Add comment describing the origin of mix64_policy::apply_hash 2021-11-29 06:14:20 +02:00
Peter Dimov bbd0eedb5f Precompute indices to avoid clever optimizations 2021-11-29 04:54:47 +02:00
Peter Dimov ad51b34438 Add benchmark/uint64.cpp 2021-11-29 02:49:12 +02:00
Peter Dimov 0d4b753409 Merge pull request #45 from LeonineKing1199/transparent-count-unordered_map
Transparent count unordered map
2021-11-24 01:50:28 +02:00
LeonineKing1199 6f5727cbdb Clean up tests by pulling transparent tests into a named function 2021-11-23 14:14:26 -08:00
Peter Dimov 10e88d07af Merge pull request #41 from LeonineKing1199/deprecated-copy
Fix `-Wdeprecated-copy` warnings in test allocator
2021-11-23 22:34:08 +02:00
LeonineKing1199 3f1e4a703a Clean up tests to be a bit more readable 2021-11-23 12:15:53 -08:00
LeonineKing1199 bc9eca70d0 Remove unnecessary assignment operator for test key 2021-11-23 12:04:00 -08:00
LeonineKing1199 69b882a14b Add defaulted copy assignment operators when supported 2021-11-23 11:10:03 -08:00
LeonineKing1199 6984e6a4f2 Remove unnecessary move support 2021-11-23 10:57:26 -08:00
LeonineKing1199 fd0cab2ab8 Remove out-of-line defintion for transparent count() to hopefully appease msvc-9.0 2021-11-22 15:43:28 -08:00
LeonineKing1199 93216374ef Flesh out test suite to cover all permutations of transparent/non-transparent Hash & KeyEqual pairs 2021-11-22 13:30:10 -08:00
LeonineKing1199 8ba710637a Remove detail::make_dependent in favor of an extra template parameter in is_transparetn 2021-11-22 13:29:41 -08:00
LeonineKing1199 937c3484cf Flesh out test case 2021-11-22 12:27:29 -08:00
LeonineKing1199 59db6cf788 Add SFINAE to transparent count() overload in unordered_map 2021-11-22 11:16:04 -08:00
LeonineKing1199 f41b3e8295 Get initial prototype of transparent count() working 2021-11-19 15:29:57 -08:00
LeonineKing1199 fe439890e8 Remove unneeded macro as Config defines BOOST_NOEXCEPT 2021-11-19 10:10:52 -08:00
LeonineKing1199 e29f762116 Fix warning about using implicitly defined copy constructor/assignment by completing the Rule of 5 for test allocator 2021-11-19 10:10:52 -08:00
Peter Dimov c8abaf32ee Merge pull request #40 from LeonineKing1199/sfinae-updates
Update SFINAE expressions to be in the return type
2021-11-19 04:32:06 +02:00
Peter Dimov c0a9f638ce Merge pull request #37 from LeonineKing1199/memory-tracker-fixes
Replace `BOOST_TEST` call with `BOOST_ASSERT` to resolve testing woes
2021-11-19 04:26:33 +02:00
Peter Dimov 4a90ae5b0f Merge pull request #38 from LeonineKing1199/ambiguous-reversed-operator
Ambiguous reversed operator fixes
2021-11-19 04:25:45 +02:00
LeonineKing1199 7ccd62ba98 Update SFINAE expressions to be in the return type instead of a defaulted function parameter 2021-11-18 12:54:17 -08:00
LeonineKing1199 2e1ef850e3 Add const qualification to auto-generated allocator methods in test suite 2021-11-18 10:25:44 -08:00
LeonineKing1199 dbba786a35 Add missing const-qualification for operator== member functions 2021-11-18 10:24:57 -08:00
LeonineKing1199 d0d4be9e35 Add missing operator== overloads for direct list_iterator comparisons 2021-11-18 10:19:46 -08:00
LeonineKing1199 2d69c7a5ca Add missing const-qualification of operator== for internal optional implementation 2021-11-18 10:19:20 -08:00
LeonineKing1199 24a38922bd Replace BOOST_TEST call with BOOST_ASSERT to resolve https://github.com/boostorg/unordered/issues/36 2021-11-18 09:36:04 -08:00
LeonineKing1199 1e553df5b6 Add explicit tests around use of scoped_allocator_adaptor to emulat… (#31)
* Add explicit tests around use of `scoped_allocator_adaptor` to emulate issue https://github.com/boostorg/unordered/issues/22

* Refine test to only run in C++11 mode and later with possibility of re-introducing C++03 support later

* Update test to use `<boost/cstdint.hpp>`

* Refactor test to use `UNORDERED_AUTO_TEST`

* Cleanup how the scoped allocator test is conditionally compiled

* Update test to generate a UUID for the name of the shared memory segment so tests can run safely in parallel

* Update test jamfile to relocate the Filesystem link dependency directly to the test that requires it
2021-11-15 21:22:40 +02:00
Peter Dimov 0f37f774f1 Merge branch 'develop' of https://github.com/yutakasi634/unordered into feature/pr-14 2021-09-01 04:15:55 +03:00
Peter Dimov 34c07ea148 Merge branch 'gcc-9-rvalue-ref-try-emplace' of https://github.com/LeonineKing1199/unordered into feature/pr-29 2021-08-31 22:02:10 +03:00
Peter Dimov 70fca4483e std::equal_to has no first_argument_type in C++20 2021-08-31 21:16:09 +03:00
Peter Dimov b2b017accb Disable -Wfloat-equal for clang-cl as well 2021-08-31 21:10:52 +03:00
LeonineKing1199 a97160cf57 Fix bug in has_construct by using std::declval 2021-08-29 12:13:56 -07:00
Peter Dimov 1d42f5b7b1 Merge pull request #20 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-08-29 14:50:13 +03:00
Peter Dimov 70ac0509df Update .appveyor.yml 2021-08-29 02:22:34 +03:00
Peter Dimov f1678399af Remove cxxstd=2a from clang-9, 10 2021-08-28 17:00:31 +03:00
Peter Dimov bae1f8ca82 Switch 16.04 jobs to 18.04 2021-08-28 16:53:45 +03:00
Peter Dimov 790c33d6a7 Re-add gcc-9 on 18.04 for contrast 2021-08-21 22:17:34 +03:00
Peter Dimov a9f5da7799 Use 20.04 for gcc-9 and above 2021-08-21 21:03:48 +03:00
Peter Dimov 6a59e6db39 Disable variadic macro warnings from Boost.PP for gcc 2021-08-21 19:15:23 +03:00
Peter Dimov 76a44cff09 Disable cxxstd=2a for clang-8 2021-08-21 19:09:17 +03:00
Peter Dimov e36dce52ba Disable variadic macro warnings from Boost.PP for clang 2021-08-21 19:08:40 +03:00
Peter Dimov c31ace5fc8 Add .github/workflows 2021-08-21 19:03:57 +03:00
Peter Dimov c494b3db58 Merge branch 'master' into develop boost-1.77.0.beta1 boost-1.78.0 boost-1.78.0.beta1 boost-1.77.0 2021-05-29 05:28:09 +03:00
Peter Dimov bf0c3c188e Add CMakeLists.txt 2021-03-18 17:29:38 +02:00
Edward Diener 0f9f3eba72 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-20 02:52:08 -05:00
Glen Fernandes 0960f885d5 Merge branch 'develop' boost-1.76.0.beta1 boost-1.76.0 boost-1.75.0.beta1 boost-1.75.0 2020-11-01 08:21:59 -05:00
Peter Dimov 33b28a514e Update .appveyor.yml 2020-08-24 12:41:56 +03:00