Commit Graph

1973 Commits

Author SHA1 Message Date
Louis Dionne
0e4b8abe0e [Windows] Disable failing tests due to EBO bug, and fix broken example
The example/tap.cpp bug was actually interesting, so I'll document it
here. We were using `tap` with a function that performed side effects.
However, we relied on the side effects being done in a particular order
for the example to pass. This is a violation of what the documentation
says we're allowed to.

On Windows, the call convention is such that arguments are evaluated
from right to left, instead of left to right like on OS X and Linux.
Since `chain` uses `transform` and `transform` expands `f(x)...` inside
a function call, our function with side effects was being called in
reverse order as what we would have expected!

Morale: Listen to the documentation, or perish.
2015-11-18 20:18:34 -05:00
Louis Dionne
b8562dc20c [FindHana] Standardize the Find-module and add support for versions 2015-11-18 18:02:17 -05:00
Louis Dionne
e213a0b283 [to] Define to_t in the forward header 2015-11-17 16:27:48 -05:00
Louis Dionne
7103b41775 [to_xxx] Move to fwd headers 2015-11-17 09:41:07 -05:00
Louis Dionne
56d4c499ad Use a macro to open and close Hana's namespace
Note, however, that we're not using inline namespaces yet.
Using a macro to open/close the namespace would however make
such a change trivial.
2015-11-17 09:33:21 -05:00
Louis Dionne
06b95f12f7 [CONTRIBUTING] Add note about sorted includes 2015-11-16 20:21:50 -05:00
badair
197c152495 [to_xxx] [convert] adding to<xxx> equivalents
- adding to_map
- adding to_set
- adding to_tuple

ldionne:
    Closes #206
    Closes #164
2015-11-16 20:18:08 -05:00
Louis Dionne
cfbd606103 [Tutorial] Add link to the wiki 2015-11-16 08:52:53 -05:00
Louis Dionne
aa9ff56984 [Example] Fix compilation errors on Boost.Fusion trunk 2015-11-16 07:48:01 -05:00
Louis Dionne
d7ba283f86 [Boost.Build] Fix documentation generation 2015-11-16 07:42:53 -05:00
Louis Dionne
5e27a68388 [Tutorial] Remove unwanted tutorial entry from the navigation bar
By moving the tutorial into tutorial.hpp instead of tutorial.md, there
is no unwanted entry in the left navigation bar anymore.
2015-11-15 21:31:54 -05:00
Louis Dionne
ec0d65e611 Merge pull request #188 from boostorg/feature/document-ext
Document external adaptors
2015-11-15 21:30:47 -05:00
Louis Dionne
a41f63693b [Tutorial] Complete the section on external adapters 2015-11-15 15:16:31 -05:00
Louis Dionne
2a0bf6b34f [std::ratio] Add documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
b906aeb277 [std::pair] Add documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
d54fb5fa32 [boost::tuple] Add documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
735fc4e628 [std::tuple] Add documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
371c07e62d [std::integral_constant] Add documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
11a7300651 [Fusion] Document adapters 2015-11-15 15:16:31 -05:00
Louis Dionne
f307d74daa [mpl::list] Refactor the reference documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
771f822458 [Doc] Minor stylistic improvements 2015-11-15 15:16:31 -05:00
Louis Dionne
e93de9580c [mpl::integral_c] Refactor the documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
b86580c593 [mpl::vector] Refactor the reference documentation 2015-11-15 15:16:31 -05:00
Louis Dionne
184bdad14a [std::integer_sequence] Document and add examples 2015-11-15 15:16:30 -05:00
Louis Dionne
11096eb1d0 [std::array] Document properly and add examples 2015-11-15 15:16:30 -05:00
Louis Dionne
61b3ab74dc [Doc] Prepare the setup to document external adapters. 2015-11-15 15:16:30 -05:00
m-j-w
87c036bc64 [Clang-cl] Compiler detection for LLVM/Clang-cl with Visual Studio integration
[ldionne: Minor reindentation, add space between < operator]

Closes #203
2015-11-15 15:15:12 -05:00
Louis Dionne
4782c8a0b6 [CMake] Simplify and optimize the handling of unit tests and examples 2015-11-14 14:13:27 -05:00
Louis Dionne
1d2e3a682b [CMake] Create a generic module to handle public header testing 2015-11-14 14:13:18 -05:00
Louis Dionne
5a461a40ac [adjust_if] Minor improvement in the implementation 2015-11-14 10:37:56 -05:00
Louis Dionne
8ff5987200 [equal] Minor improvement in struct comparison 2015-11-14 10:28:40 -05:00
Louis Dionne
b5e82061d8 Provide macros to detect the version of the library
Closes #189
2015-11-13 14:25:33 -05:00
Louis Dionne
537e4fe645 [Detail] Avoid EBO-disabling duplicate base classes caused by operators::adl
Fixes #202
2015-11-13 12:23:06 -05:00
Louis Dionne
526ee4d90a [Doc] Explain reason for not including adapters in boost/hana.hpp 2015-11-12 15:42:24 -05:00
Louis Dionne
e77801512e [Doc] Fix the name of BOOST_MPL_MAX_XXX_SIZE, and add links 2015-11-12 14:33:54 -05:00
Louis Dionne
e13d826496 [MPL] Add support for mpl::list 2015-11-12 14:23:15 -05:00
Louis Dionne
1b64f5e6c9 Revert the two previous commits about EBO on Windows
The commits are db487b2b4 and 76a0ac16a. They were supposed to fix
unit tests failing on Windows due to a missing EBO, but both of these
commits failed to do so. Since I can't test on Windows by myself for
the time being, I'm rolling back these commits and I'll try to fix
this error later.
2015-11-11 20:24:45 -05:00
Louis Dionne
db487b2b42 [Tests] Actually workaround the missing EBO on Windows 2015-11-11 18:00:57 -05:00
Louis Dionne
76a0ac16a4 [Tests] Workaround missing EBO in Clang for Windows 2015-11-11 17:31:37 -05:00
Louis Dionne
c8850d83e8 [Examples] Use boost::core::demangle instead of our own implementation
This will allow the examples to compile on platforms that
do not have the <cxxabi.h> header.
2015-11-11 17:08:15 -05:00
Louis Dionne
cb390d2c82 [Detail] Use qualified calls in detail/algorithm.hpp 2015-11-11 16:38:10 -05:00
Louis Dionne
0803c09455 Merge pull request #194 from boostorg/pr/no-tail
[Iterable] Remove tail from the MCD
2015-11-11 15:59:23 -05:00
Louis Dionne
3707877225 [Iterable] Remove the tail function
Closes #158
2015-11-11 14:08:36 -05:00
Louis Dionne
7d578de9d8 [Iterable] Reformulate the MCD in terms of drop_front 2015-11-07 16:18:11 -05:00
Louis Dionne
62bed060b2 [Benchmarks] Remove the now useless measure.cpp file 2015-11-07 13:27:29 -05:00
Louis Dionne
8257e0cb5a [Travis] Reorganize and reorder jobs
- Improve the logical separation between jobs in .travis.yml.

- Put all the jobs that are allowed to fail at the end in order to
  know the result of important jobs first.

- Workaround the empty job bug [1] and regroup documentation jobs

[1]: https://github.com/travis-ci/travis-ci/issues/4681
2015-11-07 13:22:47 -05:00
Louis Dionne
131b46a6fd [Benchmarks] Allow running multiple benchmarks at the same time
On Travis, also test the benchmarks on two cores to speed up the builds.
2015-11-07 12:09:01 -05:00
Louis Dionne
6c5e6f1ce6 [Benchmarks] Simplify the logic for creating the benchmark targets 2015-11-07 12:08:04 -05:00
Louis Dionne
0fb43a90ed [Fusion] Fix bug in tail(fusion::deque) 2015-11-07 12:06:02 -05:00
Louis Dionne
5c2b4f1eb0 [Tests] Do not run the header tests under Valgrind 2015-11-07 12:05:41 -05:00