1
0
forked from boostorg/mp11
Commit Graph

76 Commits

Author SHA1 Message Date
Axel Huebl
c24fe1750c Clang -x cuda: >>> mixmatch 2018-04-26 10:53:59 +02:00
Peter Dimov
4aacc60840 Replace detail/workaround.hpp with config/workaround.hpp 2018-01-23 21:34:35 +02:00
Peter Dimov
c273159c94 Zero-length arrays are an extension 2017-12-12 00:05:18 +02:00
Peter Dimov
df8217ce97 Add mp_all_of_q, mp_any_of_q, mp_none_of_q 2017-10-22 02:50:29 +03:00
Peter Dimov
0f5c50b195 Add mp_find_if_q 2017-10-22 02:18:40 +03:00
Peter Dimov
806a96e42c Add mp_nth_element_q 2017-10-22 01:47:00 +03:00
Peter Dimov
b229d184ac Add mp_sort_q 2017-10-22 01:34:12 +03:00
Peter Dimov
38654a6884 Add mp_partition_q 2017-10-22 01:25:35 +03:00
Peter Dimov
4cd6a4ff45 Add mp_remove_if_q 2017-10-21 22:13:35 +03:00
Peter Dimov
5741ce6657 Add mp_copy_if_q 2017-10-21 22:03:37 +03:00
Peter Dimov
e4c12368c6 Add mp_replace_if_q 2017-10-21 21:51:14 +03:00
Peter Dimov
c14d6030c2 Add mp_nth_element 2017-10-15 16:56:22 +03:00
Peter Dimov
66b7128253 Move mp_min_element, mp_max_element to detail/mp_min_element.hpp 2017-10-15 14:43:33 +03:00
Peter Dimov
ea68803092 Move mp_fold to detail/mp_fold.hpp 2017-10-15 14:33:50 +03:00
Peter Dimov
67beaa8fc9 Add mp_min_element, mp_max_element 2017-10-14 22:05:49 +03:00
Peter Dimov
e5b4200d24 Add mp_fold_q, mp_reverse_fold_q 2017-10-14 20:26:38 +03:00
Peter Dimov
321f5fdb24 Move mp_assign, mp_clear from algorithm to list 2017-10-14 20:11:02 +03:00
Peter Dimov
018d71bb72 Add mp_list_c, mp_from_sequence 2017-10-14 18:20:29 +03:00
Peter Dimov
602147bf31 Revert "Include workaround.hpp from Config"
This reverts commit 308e5b6edb.

For compatibility with 1.64, it's better not to use
config/workaround.hpp yet.
2017-09-10 03:52:48 +03:00
Glen Fernandes
308e5b6edb Include workaround.hpp from Config 2017-08-27 15:12:05 -04:00
Peter Dimov
d8628a7c5e Bump msvc version checks from <= 1910 to < 1920 2017-08-22 22:01:10 +03:00
Peter Dimov
dad038eea1 Use C++14 constexpr in cx_find_index as it's much less taxing for large N 2017-07-23 16:21:41 +03:00
Peter Dimov
d9c4308d9d Add list_size_mismatch which produces a better error message from mp_transform 2017-06-17 19:14:47 +03:00
Peter Dimov
cde9259b1a Rename mp_for_index to mp_with_index 2017-06-02 18:20:37 +03:00
Peter Dimov
e6c28a0848 Add mp_for_index 2017-05-31 19:56:18 +03:00
Peter Dimov
f6d92069a9 Make mp_at SFINAE-friendly 2017-05-29 05:56:55 +03:00
Peter Dimov
c7923ca041 Change back mp_for_each to not use mp_identity 2017-05-29 03:04:12 +03:00
Peter Dimov
edcff6fa6f Add test for mp_transform_q 2017-05-25 21:51:40 +03:00
Peter Dimov
6db4019341 Add mp_transform_if_q 2017-05-25 21:31:03 +03:00
Peter Dimov
0e0d7fae4e Enable fold expressions on g++ 2017-05-24 06:16:17 +03:00
Peter Dimov
29a771aa4e Move integer_sequence and tuple_for_each into mp11 2017-05-23 20:24:37 +03:00
Peter Dimov
3cc44323e9 Second try to fix g++ 4.7 2017-05-19 01:13:09 +03:00
Peter Dimov
ec9d43e7e9 Try to fix g++ 4.7 2017-05-19 01:00:56 +03:00
Peter Dimov
02385ac83d SFINAE-fail mp_transform on lists of different sizes 2017-05-18 16:13:55 +03:00
Peter Dimov
15e45290d0 Add mp_insert, mp_erase 2017-05-13 21:52:56 +03:00
Peter Dimov
647f669353 Add mp_product_q, update documentation 2017-05-13 21:07:54 +03:00
Peter Dimov
893d84fda2 Add mp_for_each 2017-05-13 00:10:50 +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
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
3cd3a916a8 Use __type_pack_element in mp_at(_c) 2017-03-25 20:32:40 +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
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
32938df318 Less clever, much faster, mp_take 2017-03-22 02:03:39 +02:00
Peter Dimov
7e8d618793 Add mp_replace_at(_c) 2017-03-18 20:20:31 +02:00