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
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
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
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
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
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
Daniel James
9d5a16c288
Run concurrent test processes in travis
2018-01-06 14:29:05 +00:00
Daniel James
e80c0c84bb
Use cxxstd to set language version
2018-01-06 13:51:06 +00:00
Daniel James
c64e516518
Build boost build ourself
2018-01-06 13:50:42 +00:00
Daniel James
b40b795572
Use boost 1.66.0 in travis
2018-01-06 13:45:56 +00:00
Daniel James
6ca88a8146
Add forwarding headers at old locations
2017-12-29 14:12:03 +00:00
Daniel James
53fbb04e88
Move 'functional' headers and update paths
2017-12-29 13:58:48 +00:00
Daniel James
c7fc03d2b9
Rename library in explicit-failures-markup
2017-12-28 23:50:18 +00:00
Daniel James
fc3e0bff4f
Add targets for automated doc build
2017-12-28 21:04:48 +00:00
Daniel James
376000169c
Manually write out tuple overloads
...
A tad more usable this way.
2017-12-19 17:48:48 +00:00
Daniel James
bc09240437
Update paths for headers moved to different modules
...
Makes it easier to see dependencies.
2017-12-19 17:48:18 +00:00
Daniel James
8098c5b302
1.66.0 release notes
2017-11-10 15:16:39 +00:00
Daniel James
d803b3bdc0
Remove schema stuff, as it doesn't work
2017-10-02 23:31:54 +01:00
Daniel James
170558e4fa
Initial explicit-failures-markup.xml
2017-10-02 13:42:23 +01:00
Daniel James
4a4cb9f7a4
Use is_zero workaround on clang
...
The same warning appears on clang for windows, but the workaround wasn't
used because the gcc macro wasn't defined.
2017-09-19 12:42:01 +01:00
Daniel James
8bdfb0cf90
Use 1.65.1 in travis
2017-09-08 21:40:16 +01:00