Commit Graph

2229 Commits

Author SHA1 Message Date
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
Peter Dimov
2497d663b7 Merge pull request #16 from eldiener/develop
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODE…
2020-08-24 12:39:36 +03:00
Edward Diener
887f1dc07c Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which are3defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-31 22:47:48 -04:00
yutaka
0d033679d4 Fix typo 2020-02-03 20:48:35 +09:00
Daniel James
9abce00f24 Merge branch 'develop' boost-1.72.0 boost-1.70.0 boost-1.73.0.beta1 boost-1.73.0 boost-1.72.0.beta1 boost-1.74.0.beta1 boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0.beta1 boost-1.74.0 boost-1.69.0-beta1 boost-1.69.0 boost-1.68.0 2018-04-16 07:05:46 +01:00
Daniel James
f3649e4ae0 Use boost 1.67.0 in tests 2018-04-15 22:39:33 +01:00
Daniel James
6cf0342322 Stop using -Werror
So that it doesn't fail for warnings in other libraries.
2018-04-15 22:39:33 +01:00
Daniel James
3252ad1f4b Move download-boost-snapshot.py into ci directory
Because __boost_check_library__ is complaining about it.
2018-03-18 15:41:24 +00:00
Daniel James
741a10f5a8 Merge branch 'develop' boost-1.67.0 2018-03-06 22:27:23 +00:00
Daniel James
c39dd284d2 Boost 1.67.0 changelog 2018-03-05 14:20:14 +00:00
Daniel James
4e5c97f3a3 Merge branch 'develop'
- Various CI improvements, including appveyor support
- Stop using boost::next in tests, because of warnings
- Use std::iterator_traits, to drop dependency on iterator
- Use std::piecewise_construct from dinukumware/Visual C++
- Template deduction guides, just copied from the standard,
  they don't work that well. I think some other implementations
  enhance them
- Some internal changes
- Stop inheriting from std::iterator, deprecated in C++17 (#7)
- Implement allocator_traits::is_always_equal
- Rewrite node handles using a simple class based on std::optional,
  so that it's closer to the standard
- noexcept support for swap, operator=
- Fix some compiler warnings
- Fix some of the tests on Visual C++ 7.1
- Add element_type to iterators, so that pointer_traits will work
- Use boost::to_address internally, instead of own custom implementation
- Stop using BOOST_DEDUCED_TYPENAME - it's for very old compilers that are
  no longer supported, and makes the code look ugly
2018-02-25 14:06:04 +00:00
Daniel James
e10fc0f93b Fix typo 2018-02-25 14:03:11 +00:00
Daniel James
8207ebe381 Use bash to run bootstrap.sh
When using a zipfile it isn't marked as executable.
2018-02-09 09:00:45 +00:00
Daniel James
6491f6c10a Python script to download the latest snapshot for CI testing 2018-02-02 23:37:36 +00:00
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
09be9bae04 Use boost::is_nothrow_swappable, now that it's available everywhere 2018-01-27 09:38:19 +00:00
Daniel James
c01a8c4629 Oops, it's boost::to_address, no boost::to_pointer 2018-01-26 20:25:09 +00:00
Daniel James
cdb0229cf2 Use snapshot to get latest pointer_traits 2018-01-26 20:01:29 +00:00
Daniel James
ddf302fcc2 Use boost::to_pointer instead of pointer<..>::get
To get C++20 style recursive calls to `operator->`.
2018-01-26 18:59:16 +00:00
Daniel James
ca9e9584ba Test on appveyor 2018-01-26 18:03:56 +00:00
Daniel James
0d34053870 Use boost::to_address in node_handle_tests 2018-01-26 17:47:47 +00:00
Daniel James
66533ace80 Add element_type to nodes, so that pointer_traits will work
Might be better to change the template signature of iterators, but that would
be a disruptive change to make at the moment.
2018-01-26 17:43:06 +00:00
Daniel James
ea599a66b7 Disable 'conditional expression is constant' on older Visual C++ 2018-01-23 15:40:58 +00:00