Commit Graph

1973 Commits

Author SHA1 Message Date
Louis Dionne
eed60b3ca8 Doc: add missing section header in Functor 2014-11-26 10:49:48 -05:00
Louis Dionne
7fbd438f31 Use perfect forwarding in Pair. 2014-11-26 09:32:11 -05:00
Louis Dionne
e043d1c046 Fix bug when returning a dangling reference from always.
Fixes #15.
2014-11-23 10:04:50 -05:00
Louis Dionne
8845b2a0c1 Use common to provide inter data type instances. 2014-11-17 10:05:58 -05:00
Louis Dionne
4009555990 Refactor and improve IntegralConstant
- Add mandatory lossless conversions between instances
- implement `common` properly
2014-11-17 09:13:48 -05:00
Louis Dionne
f4e9062d89 Core: add the common utility 2014-11-17 09:13:48 -05:00
Louis Dionne
12bb5b1fa4 Core: refactor convert 2014-11-17 09:13:36 -05:00
Louis Dionne
d042abda97 Automatically test including individual headers. 2014-11-12 11:22:53 -05:00
Louis Dionne
515ade7cf6 Split Fusion adapters. 2014-11-12 11:22:52 -05:00
Louis Dionne
1d075a6679 List: improve unit tests 2014-11-10 22:29:22 -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
39006d288d Experiment with fold expressions. 2014-11-08 13:18:25 -05:00
Louis Dionne
e0e2501931 List: add the remove_at method 2014-11-08 12:32:51 -05:00
Louis Dionne
302c33c8fa Fix broken benchmarks in techniques/closure/ 2014-11-08 10:43:13 -05:00
Louis Dionne
09619ad0c5 Refactor List benchmarks and ext::std::Tuple 2014-11-08 10:43:13 -05:00
Louis Dionne
e121c1330b README: Clang 3.5 is now mostly supported! 2014-11-07 21:33:24 -05:00
Louis Dionne
19b5cd44cf Improve unit tests for detail::create 2014-11-07 21:33:24 -05:00
Louis Dionne
584c16a746 Work around Clang bugs to make the String compile. 2014-11-07 21:33:23 -05:00
Louis Dionne
596eaf389d Fix Doxygen warnings 2014-11-07 20:31:27 -05:00
Louis Dionne
0ef90fbf39 Type: add a unary operator+ turning lvalues into rvalues.
Fixes #11
2014-11-07 20:31:26 -05:00
Louis Dionne
7b7bda5998 Experiment with adding operators to Types. 2014-11-07 20:31:26 -05:00
Louis Dionne
29995f62ee Work around bugs in Clang 3.5. 2014-11-07 20:31:26 -05:00
Louis Dionne
b9472015d1 Add the overload utility to Functional 2014-11-07 20:31:26 -05:00
Louis Dionne
da8fb2b486 Add laws to Enumerable. 2014-11-07 19:46:25 -05:00
Louis Dionne
0f0c2c4430 Replace when<is_valid<...>> by when_valid<...> 2014-11-07 15:41:10 -05:00
Louis Dionne
98a39c1204 Remove superfluous #define BOOST_PP_VARIADICS 1. 2014-11-07 10:57:48 -05:00
Louis Dionne
6e86e1f319 Searchable: add some laws 2014-11-05 13:32:45 -05:00
Louis Dionne
a0bde438f5 Iterable: Workaround a bug in example/core/to.cpp 2014-11-05 10:58:34 -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
1e8726f394 Make the tuple implementation constexpr-friendly.
- Move the lambda-based tuple to the sandbox
- Use the multiple inheritance based tuple instead
2014-11-04 09:02:31 -05:00
Louis Dionne
550bbeb065 Simplify the implementation of default conversions. 2014-11-04 08:54:59 -05:00
Louis Dionne
788b4df735 List: zip_with and zip must receive lists of the same data type 2014-11-04 08:54:59 -05:00
Louis Dionne
5fbf0f4da5 Add some easy perfect forwarding in List 2014-11-04 08:54:59 -05:00
Louis Dionne
57087cd249 Functional: make lockstep's syntax like demux's 2014-11-04 08:54:59 -05:00
Louis Dionne
647ad436b0 Reorganize the unit tests and increase the overall coverage. 2014-11-04 08:54:58 -05:00
Louis Dionne
217e1d2b46 Add BOOST_HANA_ASSERT. 2014-11-03 10:22:19 -05:00
Louis Dionne
f33c23b67e Add an alternative tuple implementation using multiple inheritance. 2014-11-03 10:22:19 -05:00
Louis Dionne
bfd7d3882d Make several data types constexpr friendly. 2014-11-03 10:22:19 -05:00
Louis Dionne
f955050dbd Make type class methods constexpr friendly.
Instead of using lambdas to implement type class dispatched methods,
constexpr function objects are now used instead.
2014-11-01 13:47:57 -04:00
Louis Dionne
d188e19938 Make functional utilities constexpr friendly 2014-10-28 14:38:49 -04:00
Louis Dionne
8590ce9376 Add detail::reverse_partial 2014-10-28 14:38:49 -04:00
Louis Dionne
ce06df1a68 Make test::numeric constexpr-friendly. 2014-10-28 14:22:59 -04:00
Louis Dionne
c37916cdd4 Make variadic folds function objects. 2014-10-28 14:22:59 -04:00
Louis Dionne
f6af15fe31 Update fix's test 2014-10-28 14:22:59 -04:00
Louis Dionne
a6310a046d Simplify the closure type 2014-10-28 14:22:58 -04:00
Louis Dionne
629b487d4c Add the detail::create utility. 2014-10-28 13:51:05 -04:00
Louis Dionne
40aef4d918 Add std::{decay,is_array,is_function} 2014-10-28 13:50:53 -04:00
Louis Dionne
e66473a0a9 Fix broken link to example in the doc. 2014-10-28 08:12:17 -04:00
Louis Dionne
ca821c9455 Move Searchable::list_mcd to Searchable::iterable_mcd. 2014-10-27 17:27:54 -04:00