Peter Dimov
64b9c1f874
Add mp_power_set
2020-03-19 15:04:52 +02:00
Peter Dimov
4e177f73ae
Simplify mp_rotate_impl
2020-01-18 20:15:05 +02:00
Peter Dimov
8ef7658518
Implement mp_rotate_right in terms of mp_rotate_left
2020-01-18 18:44:43 +02:00
Peter Dimov
d3f0738bf4
mp_rotate_*: remove default rotation count
2020-01-18 18:31:06 +02:00
D-Barber
054f576d14
Add mp_rotate_left and mp_rotate_right
2019-12-21 22:21:47 +00:00
Peter Dimov
b24d2285a6
Add mp_flatten
2019-12-08 02:08:26 +02:00
Peter Dimov
409147714c
Reformat mp_unique_if
2019-12-07 19:13:02 +02:00
Kris Jusiak
aa11577812
🆕 [mp_unique_if] Support for mp_unique with a predicate
...
Problem:
- `mp_unique` doesn't support custom predicates.
Solution:
- Add `mp_unique_if` and `mp_unique_if_q` which allow to remove duplicates elements with a predicate.
2019-12-03 15:12:55 -07:00
Peter Dimov
ed431d7624
Document mp_back, mp_pop_back
2019-02-16 20:26:03 +02:00
Peter Dimov
dda257c403
Add mp_back, mp_pop_back
2019-02-16 19:41:08 +02:00
Peter Dimov
6a880ae572
Unroll mp_take a bit more
2019-02-16 18:46:27 +02:00
Peter Dimov
07892c8d73
Add mp_filter
2019-02-03 19:48:16 +02:00
Peter Dimov
a9b36f58ae
Move mp_copy_if, mp_remove_if to separate headers
2019-01-07 20:44:50 +02:00
Peter Dimov
e5d6e0d0b9
Rename mp_invoke to mp_invoke_q
2019-01-07 03:41:29 +02:00
Peter Dimov
6e8559b138
Support more than 1024 list elements in mp_for_each on msvc
2018-12-16 20:13:11 +02:00
Glen Fernandes
f387448581
Implement mp_starts_with
2018-08-31 15:09:22 -04:00
Peter Dimov
76817e70d6
Remove use of Boost.Config
2018-08-29 20:03:59 +03:00
Alexander Matthes
6cd7355d94
Changed precompiler test for cuda 9 workaround
...
BOOST_WORKAROUND( BOOST_CUDA_VERSION, / 1000000 == 9 ) was not working because
BOOST_CUDA_VERSION is defined as sum without brackets so / 1000000 was only
applied to the last addend.
2018-04-27 08:52:54 +02:00
Alexander Matthes
b78e808fc1
Merge branch 'develop' of github.com:boostorg/mp11 into workaround-nvcc-cuda
2018-04-26 20:29:02 +02:00
Alexander Matthes
2458880e77
Added work around for Nvidia nvcc cuda compiler >= 9.0
...
* https://svn.boost.org/trac10/ticket/13513
* https://github.com/ComputationalRadiationPhysics/alpaka/issues/459#issuecomment-377678240
2018-04-26 19:10:57 +02:00
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