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
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