Braden Ganetsky
247ffe8afe
Add mp_sliding_fold
2023-07-30 22:54:14 -05:00
Ilya Popov
46c4e8a517
Remove usages of old style cast, use static_cast instead
...
This silences compiler warnings generated by GCC
2023-06-23 16:58:51 +02:00
Peter Dimov
1a8fa7064c
Add value list support to mp_drop. Refs #53 .
2023-05-16 20:24:06 +03:00
Peter Dimov
c1a012ad45
Add value list support to mp_take. Refs #53 .
2023-05-16 19:46:38 +03:00
Peter Dimov
73626ba3bc
Add value list support to mp_at. Refs #53 .
2023-05-16 19:13:56 +03:00
Peter Dimov
799c2e6079
Add value list support to mp_fill. Refs #53 .
2023-05-16 18:34:16 +03:00
Peter Dimov
99070f7f5c
Add a 'from' parameter to mp_iota, mp_iota_c. Refs #78 .
2023-05-14 03:49:50 +03:00
Peter Dimov
b7da04c594
Add an offset parameter to mp_from_sequence
2023-05-14 03:39:39 +03:00
Peter Dimov
6be648ccfd
Use narrowing to size_t in mp_drop
2022-12-07 18:17:37 +02:00
Jody Hagins
811efd6820
Make mp_drop and mp_drop_c SFINAE friendly.
2022-12-06 12:31:00 -05:00
Peter Dimov
50382f0127
Merge branch 'feature/mp_intersperse' into feature/mp_split
2021-03-12 07:11:01 +02:00
Peter Dimov
5babdec063
Fix typo in VS2013 workaround
2021-03-12 07:10:41 +02:00
Peter Dimov
e7f2e7a45d
Add mp_join
2021-03-12 06:35:11 +02:00
Peter Dimov
0837acfde1
Add mp_split (refs #59 )
2021-03-12 06:18:45 +02:00
Peter Dimov
4a1f343dbc
Add VS2013 workaround
2021-03-12 04:55:25 +02:00
Peter Dimov
080c3437ed
Add mp_intersperse
2021-03-12 04:27:50 +02:00
Peter Dimov
db78dc101c
Add mp_pairwise_fold
2020-10-12 22:12:42 +03:00
Peter Dimov
10ba80acb9
Add support for mp_product<F>
2020-06-03 15:08:49 +03:00
Peter Dimov
984da7f1a1
Add mp_iterate
2020-03-22 18:50:55 +02:00
Peter Dimov
e9684a1f66
Apply a workaround for msvc-12.0, msvc-14.0
2020-03-19 17:36:20 +02:00
Peter Dimov
6bc2682936
Add mp_partial_sum
2020-03-19 17:25:03 +02:00
Peter Dimov
2c8ce53efb
Apply a workaround for msvc-12.0
2020-03-19 16:11:39 +02:00
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