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
Marshall Clow
e30bbab19f
Merge pull request #9 from eldiener/develop
...
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost conf…
2020-04-16 07:53:06 -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
Peter Dimov
8a7fc581ed
Merge branch 'develop'
boost-1.73.0
boost-1.74.0
boost-1.73.0.beta1
boost-1.74.0.beta1
2019-12-23 17:21:52 +02:00
Marshall Clow
5048576921
Merge pull request #6 from andrascii/develop
...
Fixed compiler guards for use of `std::unary_function` for C++17 compliance
2019-08-12 23:14:49 -07: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
Peter Dimov
1ce57acc41
Merge pull request #5 from Mike-Devel/min_cmake
...
[CMake] Add minimal cmake file
2019-01-23 19:23:08 +02:00
Mike Dev
81a65eb01c
[CMake] Add minimal cmake file
...
Only supports "add_subdirectory" workflow and doesn't
run unit-tests. It generates a INTERFACE cmake target
that other libraries can use to express their dependency
on Boost.ContainerHash and get usage requiremments,
such as the include directory.
2019-01-02 23:04:19 +01:00
Daniel James
9fbda1a98a
Fix appveyor build (cherry-pick)
boost-1.72.0.beta1
boost-1.68.0
boost-1.72.0
boost-1.71.0.beta1
boost-1.71.0
boost-1.70.0.beta1
boost-1.70.0
boost-1.69.0-beta1
boost-1.69.0
2018-04-16 06:43:14 +01:00
Daniel James
62f29ea201
Merge branch 'develop' (early part)
2018-04-16 06:42:45 +01:00
Daniel James
f054fe932f
Fix appveyor build
2018-04-15 23:29:47 +01: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
59f9543c10
Use boost 1.67.0 in travis and appveyor
2018-04-15 22:44:19 +01:00
Daniel James
a6da082784
Stop using -Werror
...
So that there aren't any failures because of warnings in other modules.
2018-04-15 22:44:19 +01:00
Daniel James
e73522f296
Merge branch 'develop'
boost-1.67.0
2018-04-04 00:33:22 +01:00
Daniel James
3e8dbcbcc5
Changelog entry for vector<bool> fix
2018-04-04 00:32:53 +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
8c9bd9eccd
Test in msvc-14.1 C++17 mode + write out hash_info
2018-03-08 15:52:07 +00:00
Daniel James
88d1c5c395
Update hash_info for Visual C++ 14.13
2018-03-07 10:11:46 +00:00
Daniel James
957818bb97
Merge branch 'develop'
2018-03-06 22:29:30 +00:00
Daniel James
21f32243a8
1.67.0 changes
2018-03-05 14:39:13 +00:00
Daniel James
9fafa9e37b
Fix tutorial example (trac #11017 )
...
Extract example into a C++ file, so that it can be tested, unfortunately this
means that it no longer links to the reference documentation.
2018-03-03 18:36:28 +00:00
Daniel James
cc541b71c5
Merge branch 'develop'
...
- Support std::string_view, std::error_code, std::error_condition,
std::optional, std::variant, std::monostate
- Improved testing, added appveyor build file
- Move headers from 'container_hash/hash' to 'container_hash', so
there's not pointless nesting in the new directory layout
2018-02-26 14:07:50 +00: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
1e263669cb
Use unsigned for version number in hash_info.cpp
...
Was getting a `size_t` to `unsigned int` conversion when writing to stream, so
just use `unsigned` from the start.
2018-01-24 13:40:35 +00:00
Daniel James
8ea85f5ad2
Use error codes that are hopefully present on mingw
2018-01-24 13:40:35 +00:00
Daniel James
e01239286c
Avoid conversion warning
2018-01-24 12:57:28 +00:00
Daniel James
17809c3cbc
Add appveyor tests
2018-01-22 14:46:22 +00:00
Daniel James
8963c38770
Fix hash_info for older Visual C++
2018-01-22 11:56:43 +00:00
Daniel James
0ad83592af
Test g++-7, and display output from hash_info
2018-01-21 21:09:50 +00:00
Daniel James
cb6a0246df
Test members in compile_test, rather than inheritance
...
Inheritance from unary_function is deprecated in recent C++. Better to
check the member types. Could probably drop test altogether.
2018-01-21 21:09:50 +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
f81ee167c5
Add Visual C++ info to hash_info
2018-01-21 11:10:03 +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
b5c3b5d00a
Write out __cplusplus in hash_info
2018-01-20 21:53:03 +00:00
Daniel James
def7a785a5
Remove some pointless code
2018-01-20 18:39:46 +00:00
Daniel James
3521c417b5
Small program to write out hash config info
2018-01-20 17:37:55 +00:00
Daniel James
8b77644ea0
Support std::string_view
2018-01-20 17:37:55 +00:00
Daniel James
d41ead127d
Merge branch 'develop'
2018-01-14 16:07:58 +00:00
Daniel James
f460c21dd0
Add missing copyright
2018-01-10 15:17:33 +00:00
Daniel James
c3e070a244
Fix some paths
2018-01-10 14:05:25 +00:00