Louis Dionne
df657441e1
[tutorial] Document that some containers can hold references
2016-02-17 22:44:43 -05:00
Louis Dionne
eaa4cd7f8e
[map] Reimplement hana::map using a hash table
2016-02-16 15:50:41 -05:00
Louis Dionne
3a2ad0b2b5
[Hashable] Improve documentation and tests
2016-02-16 15:24:23 -05:00
Louis Dionne
b1696fe0cc
[Metafunction] Do not automatically call decltype_ on metafunction arguments
2016-02-15 10:07:08 -05:00
Louis Dionne
23c3edc93b
[NFC] Un-Doxygenize comments in non-header files
2016-02-04 11:07:41 -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
e3f2ad9cef
[doc] Add a section on compile-time branching in the tutorial
...
Closes #147
2016-01-22 10:03:39 -05:00
Louis Dionne
f7a2ac5f45
[examples] Use to_tuple instead of to<tuple_tag>
2016-01-18 17:31:59 -05:00
Louis Dionne
08a63d6cbf
Fix more Boost-inspect errors
2016-01-15 16:50:07 -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
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
Louis Dionne
131c56c32a
Add the take_back algorithm
2016-01-12 10:00:11 -05:00
Louis Dionne
ca61f12562
Minor refactoring of typos and missing includes
2016-01-12 09:34:36 -05:00
Louis Dionne
d60646237d
[core] Rename core/convert.hpp to core/to.hpp
2016-01-10 18:32:57 -05:00
Louis Dionne
1026267959
[CMake] Modularize the checks for external packages
2016-01-04 14:58:11 -05:00
Louis Dionne
c41a5cb6be
Update copyright notices for 2016
2016-01-01 14:54:06 -05:00
Louis Dionne
850dbf7ad7
Provide an experimental print function
...
Closes #200
Closes #219
2015-12-09 14:47:13 -05:00
Louis Dionne
129c80b0ce
[Tutorial] Document when-based tag-dispatching
...
Closes #173
2015-11-29 11:20:01 -05:00
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
aa9ff56984
[Example] Fix compilation errors on Boost.Fusion trunk
2015-11-16 07:48:01 -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
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
4782c8a0b6
[CMake] Simplify and optimize the handling of unit tests and examples
2015-11-14 14:13:27 -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
e13d826496
[MPL] Add support for mpl::list
2015-11-12 14:23:15 -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
3707877225
[Iterable] Remove the tail function
...
Closes #158
2015-11-11 14:08:36 -05: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
05f3763ef6
[Example] Add missing includes
2015-10-08 15:37:30 -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
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
5dd8a4c645
[Struct] Improve documentation about alternate interface for accessors
...
Addresses http://stackoverflow.com/q/32678647/627587
2015-09-21 23:54:22 -07:00
Louis Dionne
cf063a4fe3
Return hana::integral_constants from type_traits adapters
...
Also, remove the ext/std/{type_traits,utility} headers in favour of the
<boost/hana/traits.hpp> header.
2015-09-21 07:45:04 -07:00
Louis Dionne
c9784816f4
Move /test/sandbox to /experimental
...
Closes #169
2015-09-16 12:48:09 -04:00
Louis Dionne
41c64b39a9
[IntegralDomain] Rename quot/rem to div/mod
...
Fixes #180
2015-09-14 14:18:29 -04:00
Louis Dionne
4f1cbf58e9
[tutorial] Improve the section on container types and creation
2015-09-13 16:09:03 -04:00
Louis Dionne
1d7b720c95
[Enumerable] Remove that concept entirely.
...
Enumerable was not being used inside the library, and its usefulness
was questionable due to the lack of upper/lower bounds.
Closes #23
2015-09-12 17:59:58 -04:00
Louis Dionne
272e583ce5
[tuple] Optimize find_if and do minor refactoring
2015-09-12 15:07:52 -04:00
Louis Dionne
136ba9be56
[IntegralConstant] Add the repeat algorithm
...
Fixes #100
2015-09-09 15:37:31 -04:00