Peter Dimov
3c3948ccdb
Take care of size_t -> int warnings under g++ 4.8
2021-10-17 19:54:23 +03:00
Peter Dimov
21f2b5e1db
Fix hash_combine_impl to only test for a specific bit width and not for concrete types
2021-10-12 19:52:37 +03:00
Marshall Clow
e0331c0bd4
Remove use of non-existant Boost.Config macro BOOST_NO_CXX11_HDR_MEMORY
...
Thanks to Jeff Trull for the catch.
2020-09-10 20:09:23 -07:00
Edward Diener
1818113f4c
Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-23 11:50:36 -04:00
Andrey
5f858645a0
Removed usage of std::unary_function for C++17 compliance
2019-08-10 12:37:49 +03:00
Andrey
fd310d2706
Removed usage of std::unary_function for C++17 compliance
2019-08-10 11:59:22 +03:00
Andrey
90a0e36638
Removed usage of std::unary_function for C++17 compliance
2019-08-09 17:23:16 +03:00
Daniel James
83a874ed49
More general purpose support for iterators with odd reference type (trac #13501 )
...
In the last release I added explicit support for `vector<bool>` which wasn't
working with libc++ because the iterator's `operator*` returned a proxy
reference type. Other implementations return a `bool` for const iterators, so
they happened to work okay.
This solves the problem in a more general purpose way by instantiating
`hash_combine` for the iterator `value_type`. So the type returned by
`operator*` will be implicitly casted to the correct type.
2018-04-15 22:44:33 +01:00
Daniel James
601b8d0378
Include vector header, needed to get the iterator type
2018-03-29 21:57:52 +01:00
Daniel James
60f5e0d393
Add explicit allocator to vector<bool> overloads
...
Needed when container_fwd.hpp is used, as it doesn't specify the default
arguments.
2018-03-29 19:57:49 +01:00
Daniel James
e67d20d1c3
Fix std::vector<bool> with libc++
...
Temporary fix for:
https://svn.boost.org/trac10/ticket/13501
Will have a more general fix in 1.68.0
2018-03-29 19:14:56 +01:00
Daniel James
d20a68efdb
Move headers into top level of container_hash directory
2018-01-27 11:48:59 +00:00
Daniel James
d45e3986f3
Remove forwarding headers in container_hash
2018-01-27 11:47:09 +00:00
Daniel James
27b2732916
Make hash_value(monostate) inline
2018-01-21 21:09:50 +00:00
Daniel James
4d9f438823
std::variant, std::monostate support
2018-01-21 19:28:33 +00:00
Daniel James
ddc05d17df
std::optional support
2018-01-21 19:28:33 +00:00
Daniel James
b9ae7e7fb6
Clean up header detection for more headers + add optional
2018-01-21 18:21:46 +00:00
Daniel James
42bb81befa
Support std::error_code and std::error_condition
2018-01-21 14:31:31 +00:00
Daniel James
5c4edf4d7d
Fix string_view include on gcc 7.2
...
If it's included in anything earlier than c++-1z it errors.
2018-01-20 21:53:36 +00:00
Daniel James
def7a785a5
Remove some pointless code
2018-01-20 18:39:46 +00:00
Daniel James
8b77644ea0
Support std::string_view
2018-01-20 17:37:55 +00:00
Daniel James
53fbb04e88
Move 'functional' headers and update paths
2017-12-29 13:58:48 +00:00