Louis Dionne
9895803ede
Bump copyright year to 2017
2017-01-07 14:14:18 -08:00
Louis Dionne
23c3edc93b
[NFC] Un-Doxygenize comments in non-header files
2016-02-04 11:07:41 -05:00
Louis Dionne
08a63d6cbf
Fix more Boost-inspect errors
2016-01-15 16:50:07 -05:00
Louis Dionne
c41a5cb6be
Update copyright notices for 2016
2016-01-01 14:54:06 -05: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
08f66d47c1
[IntegralConstant] Suffix variable templates with _c, and clean up type names
...
Along with PR #166 , this closes #122 because names have now been
cleaned up and are now consistent basically everywhere.
2015-09-01 16:34:04 -04:00
Louis Dionne
c2ed70ddf9
[Doc] Document hana::type instead of hana::Type
...
Precisely,
1. Rename hana::_type to hana::basic_type, and document it
2. Rename hana::type<> to hana::type_c<>
3. Create and document the hana::type<> type
2015-08-30 17:08:06 -04:00
Louis Dionne
08b3db1708
[Examples] Modularize and use qualified names
...
This patch modularizes the examples, makes them self-contained and
also uses qualified hana:: names.
Fixes #139
Fixes #126
2015-08-15 17:50:40 +02:00
Louis Dionne
535bc937b6
[Type] Do not treat Types and values differently in is_valid
...
Fixes #58
2015-06-01 18:06:38 -04:00
Louis Dionne
32d4c973e9
[Doc] Write new tutorial sections and reorder other sections
...
- Write sections on containers, algorithms, and runtime performance
- Make sure examples consistently use 2 space tabs
- Disable -Wunused-parameter for examples
- Resolves #70
The requirement of pure functions is now documented.
- Resolves #14
It turns out that the benefits of specifying the type of containers
seems to be essentially limited to pattern matching. This is not
enough to justify all the bad things it brings, especially
considering the fact that recursion (currently the only use
case for pattern matching) forces the creation of a new tuple
at each step, which is disastrous. The unspecified-ness of the
container's type is now documented.
2015-05-28 17:03:46 -04:00
Louis Dionne
334cbeb188
[Tuple] Allow brace-initializing tuple members
...
Fixes #57
2015-05-03 13:34:51 -04:00
Louis Dionne
fba9abc845
[README] Make sure the overview fits in the frame
2015-05-01 15:58:09 -04:00
Louis Dionne
3568186dac
[Type] Add the is_valid utility.
...
Also refactor the overview in the README.
2015-05-01 15:54:22 -04:00
Louis Dionne
ee329961b2
[Tutorial] Add a section on assertions
2015-03-13 12:14:35 -04:00
Louis Dionne
065b910128
Update copyright year.
2015-03-03 14:16:50 -05:00
Louis Dionne
244c7a6688
[README] Use make_tuple instead of make<Tuple> in the overview.
2015-03-03 13:23:56 -05:00
Louis Dionne
3e78af4bcb
[Tuple] Use make<Tuple>(...) instead of tuple(...)
2015-02-22 16:50:01 -05:00
Louis Dionne
ec7336796b
[README] Add example of tuple indexing with [] in the README
2015-02-20 11:05:44 -05:00
Louis Dionne
72334a8bcc
[README] Improve the examples
2015-02-12 12:37:32 -05:00
Louis Dionne
dab93cc263
[Comparable] Update docs, split methods and more
...
- Use == for cross-type EqualityComparable data types
- Remove the not_equal mcd
2015-02-10 19:18:40 -05:00
Louis Dionne
4654c6786a
Split instances for foreign types
2014-12-06 16:30:16 -05:00
Louis Dionne
8756e81977
Add boost/hana/config.hpp and BOOST_HANA_*_CHECK macros.
2014-11-10 17:52:33 -05:00
Louis Dionne
049046478e
Move ASSERT macros out of the details
2014-11-04 09:43:44 -05:00
Louis Dionne
bc58bef03e
Update the overview in the readme to use constexpr when possible.
2014-11-04 09:09:54 -05:00
Louis Dionne
1104f76d48
Add perfect forwarding in some places in Tuple
2014-10-04 20:13:14 -04:00
Louis Dionne
26af39f3d9
Flip the arguments of several methods.
...
Flipped:
- traverse
- fmap, adjust, fill, replace
- drop_while, drop_until
- take_while, take_until
2014-08-29 10:24:19 -04:00
Louis Dionne
3147d9b5d5
Refactor and fix broken examples.
2014-08-25 12:33:49 -04:00
Louis Dionne
307d3d0ec8
Huge reorganization and refactoring.
...
- Split type class instances into separate files
- Instances provided automatically by a type class are actually MCDs
- Test each instance in a single file, not one file per method
- Refactor the operator system to fix the ADL-related bug.
2014-08-18 19:26:29 -04:00
Louis Dionne
ae9a849e2f
README: make the overview narrower so we can see it all
2014-08-05 19:52:44 -04:00
Louis Dionne
393cf06fb5
Tutorial: add a section on side effects
2014-08-05 14:44:02 -04:00
Louis Dionne
fda839dfb4
Show permutations in the overview.
2014-07-28 19:53:22 -04:00
Louis Dionne
412c52d9fc
README: Use a more representative Hello World
2014-07-28 19:44:30 -04:00