Commit Graph

1973 Commits

Author SHA1 Message Date
Louis Dionne
cad139b675 [Travis] Only check the benchmarks during the BENCHMARKS=true jobs
This should give a decent speed up to our Travis build.
2015-11-06 17:41:00 -05:00
Louis Dionne
2e0df33d8e [Iterable] Optimize the default implementation of drop_front_exactly 2015-11-06 13:04:23 -05:00
Louis Dionne
e9b9a00dfa [Doc] Precise the zero const of creating a std::array 2015-11-06 10:24:08 -05:00
Louis Dionne
6fdbd1b35c [Doc] Document the Homebrew formula for installing Hana
Closes #195
2015-11-04 18:26:43 -05:00
Louis Dionne
c8234ae493 [Travis] Add a job testing on XCode 7.2 beta 1
The job is allowed to fail for now, while this is still in beta.
2015-11-04 18:26:43 -05:00
Louis Dionne
d4cd945bc8 [Travis] Do not check certificates when downloading CMake 2015-11-04 18:19:51 -05:00
Louis Dionne
f1090d517f [Map] Take by const& instead of by value in any_of 2015-11-03 10:57:33 -05:00
Louis Dionne
51bacd2a32 [Travis] Update CMake version 2015-11-03 10:57:32 -05:00
Louis Dionne
fbb6c4fd4d [CMake/Doc] Add the 'install' target and document how to install Hana
Also remove the 'check' target from 'all', because otherwise 'check'
is run before 'install'.
2015-10-29 13:34:34 -04:00
Louis Dionne
a655f5534d [CMake] Remove experimental targets from the 'all' target 2015-10-29 12:11:21 -04:00
Louis Dionne
cb411673d2 [Struct doc] Fix misformatting of refined concepts 2015-10-27 10:30:16 -04:00
Louis Dionne
4a0fa48f57 [FindHana.cmake] Exclude Hana from the 'all' target 2015-10-27 09:40:59 -04:00
Louis Dionne
58df94c84c [Doc] Add a link to eval_if from the documentation of eval.
Fixes #146
2015-10-27 08:52:56 -04:00
Louis Dionne
87af378f54 [Benchmarks] Relax workarounds for Fusion's broken reverse_fold 2015-10-22 18:21:13 -04:00
Louis Dionne
33f2b4cf2f [Benchmarks] Improve transparency w.r.t Fusion algorithms
Specifically,

(1) We now benchmark with fusion::list too
(2) We now document our methodology for forcing the evaluation of algorithms

Note that we still use `as_list` and `as_vector` to force the evaluation
of algorithms instead of using e.g. `for_each`. This is because we want
to compare apples with apples, and for this we need to get a sequence of
computed values, not only for_each over the view. The disclaimer in the
tutorial saying "Fusion might encourage a different design" takes care
of warning people about the fact that we're not necessarily using
idiomatic Fusion, but not need to benchmark unfairly to try to
account for that.
2015-10-22 18:21:13 -04:00
Louis Dionne
b0f8cf2bf1 [Doc] Add links to functional programming concepts
Closes #134
2015-10-22 17:59:03 -04:00
Louis Dionne
911db80d31 Automatically generate the tutorial.hpp file from tutorial.md with Boost.Build 2015-10-22 15:42:34 -04:00
Louis Dionne
7ed85a0185 [Travis] Do not build branches prefixed with pr/ 2015-10-20 19:48:58 -04:00
Louis Dionne
074f78c3be Merge pull request #187 from boostorg/feature/b2
Add Boost.Build support
2015-10-20 11:28:22 -04:00
Louis Dionne
67f2c4a887 [Travis] Build the documentation with Boost.Build 2015-10-20 08:31:56 -04:00
Louis Dionne
ddeba4ac6d [Jamfile] Allow generating the documentation with Boost.Build
Note:
Since Boost.Build seems unable to feed markdown files to Doxygen,
we duplicate the tutorial.md file into tutorial.hpp. This is a
temporary solution only.
2015-10-20 08:23:24 -04:00
Louis Dionne
8b711bbeb8 [Travis] Run the tests with Boost.Build too 2015-10-19 09:53:20 -04:00
Louis Dionne
fe774e1d6e Add basic support for Boost.Build 2015-10-19 09:53:20 -04:00
Louis Dionne
5b690dbff7 Add the meta/libraries.json file 2015-10-19 09:41:59 -04:00
Louis Dionne
dbd0fb9246 Change links from ldionne/hana to boostorg/hana 2015-10-19 09:41:47 -04:00
Louis Dionne
026ccf48e8 [README] Add disclaimer about potential breakages since the repo transfer 2015-10-19 09:28:59 -04:00
Louis Dionne
59581c9a5d [Doxyfile] Remove obsolete IMAGE_PATH 2015-10-18 21:45:37 -04:00
Louis Dionne
af4923a1cd [Doc] Fix mis-rendered code snippet in MathJax 2015-10-18 11:11:35 -04:00
Louis Dionne
8a643a9c14 [optional] Make the interface closer to that of std::optional
Also remove `only_when`, which is frankly not very useful.
2015-10-12 11:29:37 -04:00
Louis Dionne
8b12254fbb [Examples] Add an example of deserializing JSON
In response to http://stackoverflow.com/q/33065679/627587
2015-10-12 10:45:50 -04:00
Louis Dionne
6ce5826b75 [Struct] Return a reference from at_key
Partially addresses #90
2015-10-12 10:45:49 -04:00
Louis Dionne
e0bcb8f6e1 [Tests] Modularize unit tests for Constant and integral_constant 2015-10-11 13:54:38 -04:00
Louis Dionne
05f3763ef6 [Example] Add missing includes 2015-10-08 15:37:30 -04:00
Louis Dionne
5481971492 [README] Add link to CppCon2015 video 2015-10-08 14:50:41 -04:00
Louis Dionne
35da925d19 [IntegralDomain] Rename to EuclideanRing
Note that no `norm` function is added for now, since the `norm` is not
tied to the specific Euclidean ring as explained in [1]. However, it
might be useful to enforce an arbitrary choice to be made for each
Euclidean ring. This could perhaps be added in the future.

Fixes #28

[1]: https://en.wikipedia.org/wiki/Euclidean_domain#Definition
2015-10-08 14:42:22 -04:00
Louis Dionne
cff7039ab3 [CMake/Travis] Simplify CMake setup by moving benchmark and doc uploads to Travis
The benchmarks/documentation were only ever updated from Travis, and it
is much simpler to do it directly in bash from Travis than to write it
in CMake as we did.
2015-10-04 16:48:38 -04:00
Louis Dionne
26a40bb623 [Benchmarks] Do not run benchmarks in Default build type on Clang 3.5 2015-10-03 21:15:00 -04:00
Louis Dionne
bd974d6ad8 [capture] Clarify the documentation, and explain difference with partial
Fixes #183
2015-10-03 20:25:10 -04:00
Louis Dionne
c15822e93b [filter] Use unpack in the implementation for Sequences 2015-10-03 20:25:10 -04:00
Louis Dionne
8f0e41c693 [README] Update list of related material 2015-10-01 15:38:50 -04:00
Louis Dionne
d6acfe4164 Add detail::decay, a faster equivalent to std::decay 2015-09-30 15:40:41 -04:00
Louis Dionne
716a720d37 Add copyright notice to .travis.yml, since everyone is using it 2015-09-28 18:33:15 -04:00
Louis Dionne
55d2845f99 Fix the build on Clang 3.8
- Properly fetch libc++ trunk on Travis
- Remove unused variable warnings
2015-09-28 15:57:24 -04:00
Louis Dionne
3e662013af [Benchmark] Allow navigating trough commits in the local chart viewer 2015-09-27 13:52:32 -04:00
Louis Dionne
44aa4bc718 [Doc] Add warning about potential for ODR violations
Closes #76
2015-09-27 11:29:23 -04:00
Louis Dionne
42934900b8 [Struct] Add the BOOST_HANA_ADAPT_ADT macro
Also
- Reorganize adaptation macro unit tests
- Add BOOST_HANA_PP_DROP_FRONT and BOOST_HANA_PP_FRONT macros
2015-09-22 13:37:49 -07:00
Louis Dionne
df7bdf5c69 [functional/apply] Behave like C++17's std::invoke 2015-09-22 10:40:23 -07:00
Louis Dionne
989d5f3f0a [map] Return a reference from at_key
Addresses this StackOverflow question: http://stackoverflow.com/q/32702383/627587
And also partially addresses #90.
2015-09-22 10:40:23 -07:00
Louis Dionne
403afe2dc9 [folds] Fix bugs in folds when taking state by reference
Partially addresses this SO question: http://stackoverflow.com/q/32702383/627587
2015-09-22 10:40:23 -07:00
Louis Dionne
5dd8a4c645 [Struct] Improve documentation about alternate interface for accessors
Addresses http://stackoverflow.com/q/32678647/627587
2015-09-21 23:54:22 -07:00