Commit Graph

324 Commits

Author SHA1 Message Date
Dmitry Arkhipov
7b854477f8 Put mp_front into its own file 2021-07-27 08:33:01 +03:00
Peter Dimov
03fbf117f3 Update version 2021-04-17 19:47:34 +03:00
Peter Dimov
6fdfb5bde8 Avoid g++-10 warning about < 0 compare 2021-03-24 18:59:09 +02:00
Peter Dimov
9215c68d35 Implement mp_any in terms of mp_count 2021-03-23 03:11:03 +02:00
Peter Dimov
ae4c83c8a6 Implement mp_all in terms of mp_count 2021-03-23 02:55:45 +02:00
Peter Dimov
598a40644e Change mp_same to use mp_count instead of mp_all 2021-03-23 00:29:57 +02:00
Peter Dimov
c92d2d0b6f No longer use fold expressions for mp_count_if to avoid compiler limits 2021-03-22 19:17:44 +02:00
Peter Dimov
0348adbed9 No longer use fold expressions for mp_count to avoid compiler limits 2021-03-22 18:37:46 +02: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
e81291318c Update version 2020-12-14 03:34:16 +02:00
Peter Dimov
064e9d415b mp_count: do not use fold expressions on msvc because of parser stack limit 2020-11-26 02:14:59 +02:00
Peter Dimov
6bb260ff65 mp_count_if: do not use fold expressions on msvc-14.2 because of parser stack limit 2020-11-26 00:23:13 +02:00
Peter Dimov
21cace4e57 Remove mp_invoke 2020-10-20 00:08:11 +03:00
Peter Dimov
db78dc101c Add mp_pairwise_fold 2020-10-12 22:12:42 +03:00
Peter Dimov
a069fdcce6 Update version.hpp 2020-08-22 19:59:26 +03:00
Peter Dimov
4515938bbd Work around std::tuple MSVC issue with mp_map_find (fixes #52) 2020-07-25 01:56:00 +03:00
Peter Dimov
10ba80acb9 Add support for mp_product<F> 2020-06-03 15:08:49 +03:00
Peter Dimov
d709610087 Re-remove mp11_single.hpp 2020-05-24 18:52:49 +03:00
Peter Dimov
f26810ef47 Revert "Remove single header"
This reverts commit f24d1ca5df.
2020-05-24 18:52:08 +03:00
Peter Dimov
e653eb3e8b Use an internal forward_from_tuple as the std:: one isn't constexpr in C++11 or libstdc++ 5 2020-05-24 06:14:18 +03:00
Peter Dimov
a0ea1055d2 Support up to three tuples in tuple_transform under msvc-12.0 2020-05-24 01:14:46 +03:00
Peter Dimov
917ac15ee1 Restrict msvc-12.0 to one tuple in tuple_transform 2020-05-24 00:56:43 +03:00
Peter Dimov
0ee00ee64a Check that all arguments to tuple_transform are of the same size 2020-05-23 20:42:57 +03:00
Peter Dimov
c51f83c25a Replace implementation of tuple_transform 2020-05-23 20:00:12 +03:00
Peter Dimov
dcf0d7ebdf Squash-merge PR #50 2020-05-23 19:16:07 +03:00
Peter Dimov
13c36a793c Improve compilation performance of mp_with_index<N> for large N 2020-05-09 17:32:03 +03:00
Peter Dimov
6c1628b713 Update Mp11 version 2020-05-01 01:27:26 +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
0851643af5 Change mp_invoke on Clang to use a struct, because deprecated alias templates never warn 2020-03-09 19:59:19 +02:00
Peter Dimov
c806f70b73 Prefer __attribute__((deprecated)) on all g++-compatible compilers (f.ex. Intel) 2020-03-08 18:14:01 +02:00
Peter Dimov
03c221f2d5 Do not use Q::template fn... because it breaks g++ < 7 and nvcc 2020-03-08 06:43:48 +02:00
Peter Dimov
5d25ec4ad8 Add mp_compose 2020-03-08 02:33:56 +02:00
Peter Dimov
1f634c7071 Do not use __builtin_unreachable() when not on g++ or clang. Fixes #46. 2020-03-01 01:19:58 +02:00
vahtis
66681de1ed Added fix for Sun Studio compilations. (#45)
* Added fix for Sun Studio compilations.

* Update config.hpp
2020-01-28 15:28:18 -08: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
85fb466414 Update version to 1.73.0 2019-12-12 21:28:41 +02:00
Peter Dimov
b24d2285a6 Add mp_flatten 2019-12-08 02:08:26 +02:00
Peter Dimov
f14309e92d Fix ambiguity in mp_similar<Y<>, Y<>> 2019-12-08 02:07:17 +02:00