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
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
7ce3f759ec
Remove __DMC__ workarounds
2021-10-16 16:24:56 +03:00
Peter Dimov
9782883434
Remove BOOST_NO_FUNCTION_TEMPLATE_ORDERING workarounds
2021-10-16 16:20:54 +03:00
Peter Dimov
f0ef7b8e84
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION workarounds
2021-10-16 16:18:02 +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
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