Louis Dionne
6e257fa7e1
[flatten] Extract the computation into unpack_flatten
2016-02-12 15:16:49 -05:00
Louis Dionne
18346fd8a1
[doc][value] Add note about value
being an overloaded function
2016-02-12 12:42:19 -05:00
Louis Dionne
878b556fdf
[README] Use --depth=1 for cloning documentation
2016-02-11 14:14:40 -05:00
Louis Dionne
cce2becea1
Add index.html redirecting to doc/html/index.html at the root
...
I dislike this very much, but it is part of the Boost library
requirements.
2016-02-11 14:08:42 -05:00
Louis Dionne
7f7c7a19a9
[core] Add embedding from char to any integral type with proper signedness
2016-02-11 11:28:10 -05:00
Louis Dionne
31aa2e6f60
[core] Use signed keyword on signed integer types to define embeddings
2016-02-11 11:18:11 -05:00
Louis Dionne
30be9a677a
[core] Mark conversion from 'char' to 'short' as embedding
2016-02-11 10:42:35 -05:00
Louis Dionne
80b78deee1
[doc] Fix typos in integral_constant
2016-02-07 11:30:29 -05:00
Louis Dionne
15b5e32c7d
[tests] Modularize the unit tests for std::pair, std::tuple and std::ratio
2016-02-05 18:19:24 -05:00
Louis Dionne
75f6be09ce
Return references from at, at_key & friends
...
Resolves #90
2016-02-05 18:19:23 -05:00
Louis Dionne
da0c4975da
Use T const& instead of T&& for keys in find
and at_key
...
Using T&& is pointless and it makes the code slightly more complex.
2016-02-05 18:19:23 -05:00
Louis Dionne
c6ca6497c4
[test] Rename test.tuple.get.* to test.tuple.at.*
2016-02-05 18:19:23 -05:00
Jason Rice
bae4dc1d8d
[documentation] operator documentation
2016-02-05 18:14:17 -05:00
Louis Dionne
23c3edc93b
[NFC] Un-Doxygenize comments in non-header files
2016-02-04 11:07:41 -05:00
Louis Dionne
c3a195bc18
[benchmarks] Reduce the size of map benchmarks to reduce CI timeouts
2016-02-02 09:44:02 -05:00
Louis Dionne
12939a0d70
[build] Satisfy the Boost library requirements for testing
2016-02-01 11:37:12 -05:00
Louis Dionne
91b7977df3
[map] Make the template parameters of hana::map implementation-defined
...
Also, use implementation_defined instead of implementation-defined
as a keyword in the documentation, since implementation-defined is
sometimes mis-rendered by Doxygen.
2016-01-31 15:05:18 -05:00
Louis Dionne
f0ea20f7e8
[map] Add a default constructor
...
Closes #197
2016-01-31 14:51:48 -05:00
Louis Dionne
8d1e56f513
[experimental] Clean up some files that belong better elsewhere or nowhere at all
2016-01-30 14:14:53 -05:00
Louis Dionne
b4578551db
[benchmarks] Add benchmarks for creating different maps
2016-01-29 13:07:02 -05:00
Louis Dionne
fdc6335c2e
[integer_sequence] Add unit tests and benchmarks for find_if
...
Initially, this commit was supposed to provide a slightly
optimized version of `find_if` for `integer_sequence`.
Unfortunately, benchmarking did not show any significant
difference, and so the current implementation will be kept.
Benchmark data is here: http://pastebin.com/t3M8YwzD
2016-01-29 13:04:33 -05:00
Louis Dionne
3d92428052
[tests] Split unit tests for integer_sequence
2016-01-29 12:46:29 -05:00
Louis Dionne
c642a9a78d
[CMake] Use -fdiagnostics-color when available
2016-01-28 12:54:29 -05:00
Louis Dionne
117c5047bf
[benchmarks] Remove old benchmarks that are not used anymore
2016-01-28 12:34:10 -05:00
Louis Dionne
870281f601
Exclude some files from the Boost-inspect report
...
- chart.html contains a link to external content, but that's OK.
- doc/header.html and doc/footer.html contain "invalid links" and
"invalid characters" because of $relpath^, which is understood by
Doxygen.
2016-01-28 12:28:50 -05:00
Louis Dionne
c8a886d649
[sort] Reimplement sort
with a type-level insertion sort
2016-01-27 18:20:53 -05:00
Louis Dionne
65e1aa850f
Add benchmarks for the sort algorithm
2016-01-27 16:15:43 -05:00
Louis Dionne
bfbb9f826c
[sort] Make the requirements of the predicate more strict
2016-01-27 16:15:43 -05:00
Louis Dionne
b952e0dfee
[tests] Rename test/bugs directory to test/issues
2016-01-26 13:21:56 -05:00
Louis Dionne
67ec8b2867
[CMake] Add a pkg-config file
...
Closes #237
2016-01-26 12:02:41 -05:00
Louis Dionne
73c7ec7cb8
[CMake] Parse the version from <boost/hana/version.hpp>
2016-01-26 11:24:10 -05:00
Louis Dionne
a060ebab08
[CMake] Fix typo in FindHana.cmake
2016-01-26 10:43:27 -05:00
Louis Dionne
aae8559d8a
[test] Add unit tests for is_embedded
2016-01-25 23:20:07 -05:00
Louis Dionne
7c00d7beda
[benchmarks] Remove unused variable warning in at_key benchmarks
...
Warnings happen when we access 0 keys in the container.
2016-01-25 23:20:07 -05:00
Louis Dionne
73a7c5aba9
[benchmarks] Add benchmarks for at_key and find_if
...
Also slightly improve the benchmarking framework:
- Allow passing an additional environment to benchmarks
- Add the directory of the .erb.cpp file to the include path
- Output stdout when a compilation error occurs
2016-01-25 20:11:50 -05:00
Louis Dionne
e258de9380
[doc] Remove non-ASCII character
2016-01-22 13:45:34 -05:00
Louis Dionne
e3f2ad9cef
[doc] Add a section on compile-time branching in the tutorial
...
Closes #147
2016-01-22 10:03:39 -05:00
Louis Dionne
c34f0d0f61
[doc] Add a link to the section on tag-dispatching from hana::when
...
Addresses a question asked on Gitter.
2016-01-22 07:55:38 -05:00
Louis Dionne
af27eb0ff5
[benchmarks] Add a baseline to the include benchmark
2016-01-19 08:36:30 -05:00
Louis Dionne
f7a2ac5f45
[examples] Use to_tuple instead of to<tuple_tag>
2016-01-18 17:31:59 -05:00
Jason Rice
2b0ede886e
[printable] metafunctions
2016-01-18 15:27:00 -05:00
Louis Dionne
c3becc9a1d
[Appveyor] Run all tests, not only the quick ones
2016-01-16 14:44:43 -05:00
Louis Dionne
4f6db9132e
[doc] Make sure charts are available offline
2016-01-15 16:50:12 -05:00
Louis Dionne
08a63d6cbf
Fix more Boost-inspect errors
2016-01-15 16:50:07 -05:00
Louis Dionne
655bb7afb2
[experimental] Remove obsolete std::tuple experiment
2016-01-15 10:34:48 -05:00
Louis Dionne
9b93fb0eb0
Add experimental views
...
Closes #193
2016-01-15 10:17:46 -05:00
Louis Dionne
a250583149
[Travis] Fix invocation of pcregrep
2016-01-14 11:34:14 -05:00
Louis Dionne
dc90dc52d0
Fix some Boost-inspect errors
...
- Non-ASCII characters
- Files not ending with a newline
- Missing copyright notices
2016-01-13 12:38:09 -05:00
Louis Dionne
6f1d408c00
[doc] Turn concepts into groups in the documentation
...
Fixes #133 :
Each function now automatically documents the file where it is
declared.
Partially addresses #233 :
The alphabetical index now works properly
2016-01-12 11:01:30 -05:00
Louis Dionne
81ddcfafaf
Rename take to take_front
...
This improves consistency:
drop_front/drop_back
take_front/take_back
2016-01-12 10:10:03 -05:00