Commit Graph

137 Commits

Author SHA1 Message Date
Peter Dimov
02385ac83d SFINAE-fail mp_transform on lists of different sizes 2017-05-18 16:13:55 +03:00
Peter Dimov
611ea810bd SFINAE-fail mp_eval_if when F<U...> is invalid 2017-05-18 15:22:05 +03:00
Peter Dimov
37bbb15375 Make the E parameter of mp_if optional 2017-05-18 14:59:46 +03:00
Peter Dimov
e67e6ce89d Document mp_same 2017-05-18 14:20:58 +03:00
Peter Dimov
47ee95b1f2 Add more examples 2017-05-17 20:47:25 +03:00
Peter Dimov
15e45290d0 Add mp_insert, mp_erase 2017-05-13 21:52:56 +03:00
Peter Dimov
ac28cf9b3f Use mp_product_q in example 2017-05-13 21:11:23 +03:00
Peter Dimov
647f669353 Add mp_product_q, update documentation 2017-05-13 21:07:54 +03:00
Peter Dimov
f840fdac5e Reword slightly 2017-05-13 20:56:52 +03:00
Bjorn Reese
de8b2ef76b Added synopsis for mp_find 2017-05-13 11:43:31 +02:00
Peter Dimov
4338af3c49 Disable constexpr mp_for_each test on libc++/C++11 due to std::forward not constexpr 2017-05-13 01:41:09 +03:00
Peter Dimov
0241f0531b Update documentation 2017-05-13 00:23:58 +03:00
Peter Dimov
88dceba219 constexpr tuple<> tp doesn't work on clang < 3.9 2017-05-13 00:14:26 +03:00
Peter Dimov
893d84fda2 Add mp_for_each 2017-05-13 00:10:50 +03:00
Peter Dimov
d97b21261f Add tests for tuple_for_each and empty tuples 2017-05-12 23:37:37 +03:00
Peter Dimov
509ce8f95e Add endsect ids, enable quickbook strict mode 2017-05-12 19:49:05 +03:00
Peter Dimov
9fbf51bbcb Remove bind_front functionality from mp_quote 2017-05-12 19:43:03 +03:00
Peter Dimov
543a0f755e Add mp_apply_q 2017-05-12 19:21:27 +03:00
Peter Dimov
4500b673f2 Update documentation 2017-05-10 23:23:56 +03:00
Peter Dimov
5eec097378 Update documentation 2017-05-10 00:39:18 +03:00
Peter Dimov
939a3b949d Add mp_bind_q, mp_bind_front(_q), mp_bind_back(_q), mp_transform_q 2017-05-09 20:53:00 +03:00
Peter Dimov
4521eff93c Cast the result of f() to void (avoid op,) 2017-05-08 18:59:19 +03:00
Peter Dimov
28c420edf7 Add mp_same. 2017-04-01 20:01:51 +03:00
Peter Dimov
c34e1520e5 Update documentation. 2017-04-01 19:46:45 +03:00
Peter Dimov
b02e9fbacc Add mp_bind. 2017-04-01 18:42:11 +03:00
Peter Dimov
c92d314009 Implement mp_transform_if in terms of mp_transform 2017-04-01 18:08:19 +03:00
Peter Dimov
fcbe835f4b Add a variadic mp_transform implementation 2017-04-01 17:39:02 +03:00
Peter Dimov
e871f0c30c Optimize mp_append. 2017-03-27 02:00:48 +03:00
Peter Dimov
3cd3a916a8 Use __type_pack_element in mp_at(_c) 2017-03-25 20:32:40 +02:00
Peter Dimov
aa5f2e4a5f Cosmetic documentation fixes 2017-03-25 03:02:59 +02:00
Peter Dimov
c21636d2ce More g++ 4.7 workarounds 2017-03-24 21:53:57 +02:00
Peter Dimov
8999977bdd Try another g++ 4.7 workaround 2017-03-24 21:27:33 +02:00
Peter Dimov
6332db40ab Try a g++ 4.7 workaround 2017-03-24 21:07:23 +02:00
Peter Dimov
48feceb551 Add g++ 4.7 to Travis 2017-03-24 20:42:41 +02:00
Peter Dimov
f9eab3f72b Add g++ 4.8, OS X -std=c++1z to Travis 2017-03-24 20:07:20 +02:00
Peter Dimov
3242fdb134 Use narrowing instead of static_assert in mp_take 2017-03-24 19:12:13 +02:00
Peter Dimov
c059b1ea3f Use narrowing instead of static_assert in mp_repeat 2017-03-24 19:00:52 +02:00
Peter Dimov
946861bb63 Make mp_replace(_if) SFINAE-friendlier. 2017-03-24 18:47:55 +02:00
Peter Dimov
e12eb6f774 Update comment in mp_valid.cpp 2017-03-24 18:26:02 +02:00
Peter Dimov
d3f4b099d2 Unroll mp_reverse_fold. 2017-03-24 18:10:07 +02:00
Peter Dimov
e488469e9a Unroll mp_fold. 2017-03-24 17:21:38 +02:00
Peter Dimov
2bf9bad934 Unroll mp_reverse a bit more. 2017-03-24 16:55:06 +02:00
Peter Dimov
c1485d5d51 Improve mp_copy_if, mp_remove(_if), mp_partition 2017-03-24 15:22:10 +02:00
Peter Dimov
42b4561725 Add mp_apply as an alias for mp_rename 2017-03-24 14:26:31 +02:00
Peter Dimov
828dadb167 Unroll mp_append a bit. 2017-03-24 01:15:44 +02:00
Peter Dimov
848c2ff82c Add fold expr implementations of mp_count, mp_count_if 2017-03-23 19:34:43 +02:00
Peter Dimov
72c9c49224 Unroll cx_plus a bit. 2017-03-23 19:22:42 +02:00
Peter Dimov
a2772da6d9 Add a few mp_take tests 2017-03-22 02:30:15 +02:00
Peter Dimov
32938df318 Less clever, much faster, mp_take 2017-03-22 02:03:39 +02:00
Peter Dimov
321a54728f Add indirection in mp_quote to enable expansions of T... into a fixed parameter list 2017-03-20 16:55:00 +02:00