Commit Graph

341 Commits

Author SHA1 Message Date
Peter Dimov f16707f6e9 Update mp_fold to be SFINAE-friendly (for up to 9 elements) 2023-03-24 05:13:48 +02:00
Peter Dimov 0a0b5fb001 Update version 2022-12-15 07:46:22 +02: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 3f0905d87f Update version 2022-08-14 18:42:55 +03:00
Peter Dimov 8b8c569cb9 Update version 2022-04-14 13:43:44 +03:00
Peter Dimov 7bc4e1ae9b Merge pull request #71 from grisumbras/feature/mp_valid_and_true
implement mp_valid_and_true
2022-02-17 00:12:05 +02:00
Dmitry Arkhipov 1336c4f9c3 implement mp_valid_and_true 2022-02-16 20:48:26 +03:00
Peter Dimov edba135739 Use unqualified get<I> instead of std::get<I> (refs #69) 2021-12-14 20:20:44 +02:00
Peter Dimov 40a25aab6b Update version 2021-12-09 04:06:57 +02:00
Peter Dimov a4d7c46670 Define host compiler macro when using CUDA (refs #68) 2021-11-18 14:08:33 +02:00
Peter Dimov f8206aa37d Remove unnecessary includes 2021-08-21 15:08:21 +03:00
Peter Dimov ce1046f007 Remove unnecessary include 2021-08-21 15:06:10 +03:00
Peter Dimov 3d8901bf8b Merge branch 'feature/nary-compose' of https://github.com/grisumbras/mp11 into feature/pr-64 2021-08-21 15:01:02 +03:00
Peter Dimov 5954168980 Update version 2021-08-17 15:14:34 +03:00
Dmitry Arkhipov f4b3414e62 Add support for n-ary functions to mp_compose 2021-07-27 08:39:01 +03:00
Dmitry Arkhipov 8cd25cc950 Put mp_rename, mp_apply into their own file 2021-07-27 08:38:29 +03:00
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