Commit Graph

1973 Commits

Author SHA1 Message Date
Louis Dionne
59393cac76 [tutorial] Add links to projects using Hana and shrink related material
Closes #142
2017-07-23 11:01:59 -07:00
Louis Dionne
d9da8776aa Work around nasty GCC 7 regression
This allows making the GCC 7 Travis job non-optional. When/if the bug
gets fixed and patched in GCC 7, the work around can be undone.

Bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81525
2017-07-23 10:07:13 -07:00
Louis Dionne
546f27a169 [Travis] Remove -nostdinc++ switch from CXXFLAGS
Also, disallow failures with Clang 3.5. It appears that removing
-nostdinc++ fixed the runtime error we were getting before, which
was probably due to a link problem.

Closes #287
2017-07-22 22:21:38 -07:00
Louis Dionne
4407ab7829 Make sure we support compiling with C++17 (PR #361) 2017-07-22 16:37:56 -07:00
Louis Dionne
d2ef6cc3b0 Fix some erroneous usages of BOOST_HANA_CONSTEXPR_LAMBDA that went unnoticed 2017-07-22 13:13:04 -07:00
Louis Dionne
c353ccdd9b [config][assert] Prepare support for constexpr lambdas in C++17
When C++17 is supported, constexpr lambdas can be used and CONSTEXPR_ASSERT
turns into an actual static_assert. This is not unconditionally enabled for
now because Clang does not support constexpr lambdas with captures (!).
2017-07-22 13:13:04 -07:00
Louis Dionne
8677867c09 Work around warnings emitted in C++17 2017-07-22 12:32:52 -07:00
Louis Dionne
d19598565c [Travis] Add jobs for compiling with C++17, which may uncover some bugs 2017-07-22 10:55:38 -07:00
Louis Dionne
d75ed374ce [CMake] Add an option to use -std=c++17 2017-07-22 10:55:38 -07:00
Louis Dionne
dad5d41cfe [NFC] Fix typo in CMake comment 2017-07-22 10:12:03 -07:00
Louis Dionne
a7f89f4d39 Mitigate Clang bug with C++1z 2017-07-22 10:12:03 -07:00
Louis Dionne
84e74c1f44 [example] Use hana::type in more straightforward manner 2017-07-22 10:11:10 -07:00
Louis Dionne
bb0254dcfb [integral_constant] Handle digit separators in the _c user-defined literal
Closes #362
2017-07-10 10:28:09 -04:00
Louis Dionne
7eebfc53cb [Travis] Various improvements to Travis build
Merges PR #360
2017-07-09 08:44:51 -07:00
Louis Dionne
50d682a8c3 [Travis] Allow GCC 7 to fail for now
I need this to go forward with the whole pull request. I don't think it's a
big deal, since it's only Valgrind reporting a leak in a unit test that does
not allocate memory.
2017-07-08 15:24:35 -07:00
Louis Dionne
e822fd45d9 [NFC] Work around spurious warning in GCC
Bug is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81299
2017-07-03 18:49:05 -07:00
Louis Dionne
ceb240f81a [Travis] Re-enable Clang 3.5, but allow the job to fail 2017-07-03 18:25:37 -07:00
Louis Dionne
805e34946c [Travis] Add a job on GCC 7 2017-07-01 12:35:46 -07:00
Louis Dionne
52f60cf0c7 [Travis] Switch benchmarks to the default compiler 2017-07-01 12:35:46 -07:00
Louis Dionne
fcf599c7f6 [Travis] Switch jobs to Clang 4.0, and test on Clang 3.9 explicitly 2017-07-01 12:35:46 -07:00
Louis Dionne
f1f4ba9ca5 [Travis] Switch jobs to Boost 1.64, and test 1.63 explicitly 2017-07-01 12:35:45 -07:00
Louis Dionne
a628a0fb47 [Travis] Go back to using apt-get to install Clang 2017-07-01 12:35:43 -07:00
Louis Dionne
e507494b5f Merge 'develop' into 'master' for Hana version 1.2.0 2017-06-27 18:42:53 -07:00
Louis Dionne
8b1fbe3fff Bump version to 1.2.0 for release 2017-06-27 18:37:42 -07:00
Louis Dionne
cb7f115849 [README] Improve instructions on how to make releases 2017-06-27 18:35:55 -07:00
Louis Dionne
a7635ae14a Move to CMake 3.8
Closes #342
2017-06-25 16:26:58 -07:00
Louis Dionne
f59bd152df [CMake] Reintroduce workaround for -std=c++14 on Clang/Windows 2017-06-24 15:05:36 -07:00
Louis Dionne
47ee15d1a6 [Appveyor] Use a newer version of VS2015 2017-06-24 14:54:50 -07:00
Louis Dionne
d1ea99a84e [CMake] Properly quote file paths 2017-06-24 14:53:10 -07:00
Louis Dionne
8bddcd9b7f Move to CMake 3.8 2017-06-24 14:53:10 -07:00
Louis Dionne
7533611f4b Add set-theoretic operations to hana::map
Closes #350 

Big thanks to @shreyans800755 for his great work!
2017-06-24 12:57:59 -07:00
shreyans800755
a88133aa96 [symmetric_difference] Document separately for map and set
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:35 +05:30
shreyans800755
220017be7f [symmetric_difference] Add tests and example for map
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:35 +05:30
shreyans800755
1e6011d3d7 [difference] Document separately for map and set
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:35 +05:30
shreyans800755
d70b015cbe [map] Add difference method for map
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:35 +05:30
shreyans800755
dbf83acdc0 [intersection] Document separately for map and set
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:34 +05:30
shreyans800755
074a5fa420 [map] Add intersection method for map
Closes https://github.com/boostorg/hana/issues/341
2017-06-19 01:08:34 +05:30
Louis Dionne
283d749dd0 [detail] Silence Doxygen warnings 2017-06-08 21:21:17 -07:00
Jason Rice
2d1440bf6e [index_if] Add to Cheatsheet 2017-06-07 21:07:55 -07:00
Louis Dionne
b991b9fc01 [pair] Fix invalid result of ebo_get for nested pairs
Closes #331
2017-06-06 09:50:08 -07:00
Louis Dionne
07f0cd8ccd [Travis] Remove workaround for empty job 2017-05-30 08:43:28 -07:00
Louis Dionne
0f1faa2cd6 [tag_of] Tweak example to avoid triggering GCC bug
This will avoid confusion for users of GCC 6. Reported in #349,
thanks to @Peregring-lk.
2017-05-25 02:21:43 -07:00
Louis Dionne
a80a8222c0 [basic_tuple] Specialize length_impl
This should provide slightly better compile-times, and it removes an old TODO
2017-05-20 21:12:36 -06:00
Louis Dionne
57dd98403b [example] Add comment about order of members in from_json example
[ci skip]
2017-05-18 15:25:01 -06:00
Louis Dionne
32b67b91cd [example] Add example of comparing structs using all_of 2017-05-18 15:12:43 -06:00
Louis Dionne
da3a0378ad [Appveyor] Use a single job
We don't timeout anymore
2017-05-13 12:59:45 -07:00
Louis Dionne
8b2bf22c2d [std.array] Fix UB in std.array.less for empty array
We were using `&arr[0]` on empty arrays, which is technically UB since `arr[0]`
is UB on empty arrays. This triggered an infinite loop on Clang-on-Windows.
2017-05-13 12:59:45 -07:00
Louis Dionne
5637bed9c7 [doc] Fix misformatted Latex signatures
Reported in #340, thanks @viboes
2017-04-26 08:54:26 +01:00
Louis Dionne
33565392ea [union_] Document separately for map and set
Related to #299
2017-04-22 17:22:45 -07:00
shreyans800755
47fe8af1f2 [map] Added union_ method to merge two maps 2017-04-22 16:39:13 -07:00