Commit Graph

224 Commits

Author SHA1 Message Date
Peter Dimov 080c3437ed Add mp_intersperse 2021-03-12 04:27:50 +02:00
Peter Dimov 37adad6624 test/mp_count: test N=1089 2020-11-26 01:22:15 +02:00
Peter Dimov 90f40dd999 Add a test for mp_count_if with N=1089 2020-11-25 22:22:24 +02:00
Peter Dimov 4349457f84 Increase N to 1089 in test/mp_same 2020-11-25 22:22:24 +02:00
Peter Dimov 727ecfc0cf Update mp_pairwise_fold_q test and example 2020-10-17 16:54:06 +03:00
Peter Dimov db78dc101c Add mp_pairwise_fold 2020-10-12 22:12:42 +03:00
Peter Dimov 637c586e02 Add test/mp_map_find_3 2020-07-25 01:54:49 +03:00
Peter Dimov 4fb4837f92 Add mp_map_find_test_2 (refs #52) 2020-07-21 20:23:36 +03:00
Peter Dimov 10ba80acb9 Add support for mp_product<F> 2020-06-03 15:08:49 +03:00
Peter Dimov 645c90b11d Enable constexpr tests on msvc-14.2 (where __cplusplus is still 199711L) 2020-05-24 06:55:02 +03:00
Peter Dimov 44be76e9b6 Disable test/tuple_transform_cx on g++ 4.7 2020-05-24 06:50:02 +03:00
Peter Dimov 1ffb98882d Lower N further in test/tuple_transform_2 for clang++ 3.x 2020-05-24 06:43:43 +03:00
Peter Dimov 49afe16b55 Lower N in test/tuple_transform_2 for g++ 4.9 2020-05-24 06:15:35 +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 9349a82e6b Add test/tuple_transform_2.cpp 2020-05-23 21:13:35 +03:00
Peter Dimov a8f6fa891f Update test/tuple_transform_cx 2020-05-23 20:12:27 +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 984da7f1a1 Add mp_iterate 2020-03-22 18:50:55 +02:00
Peter Dimov 6bc2682936 Add mp_partial_sum 2020-03-19 17:25:03 +02:00
Peter Dimov 64b9c1f874 Add mp_power_set 2020-03-19 15:04:52 +02:00
Peter Dimov 5d25ec4ad8 Add mp_compose 2020-03-08 02:33:56 +02:00
Peter Dimov d3f0738bf4 mp_rotate_*: remove default rotation count 2020-01-18 18:31:06 +02:00
Peter Dimov 03f6096230 Merge branch 'feature/add-rotate-algorithms' of https://github.com/D-Barber/mp11 into feature/mp_rotate 2020-01-18 18:18:03 +02:00
Peter Dimov 64b2e12971 Use LINK_LIBRARIES instead of LIBRARIES 2019-12-29 18:44:21 +02:00
Peter Dimov 22fc4198e5 Add missing copyright/license preambles 2019-12-27 00:46:51 +02:00
Peter Dimov 3afdb0e876 Fetch tools/cmake instead of having a duplicate 2019-12-22 03:08:58 +02:00
D-Barber 054f576d14 Add mp_rotate_left and mp_rotate_right 2019-12-21 22:21:47 +00:00
Peter Dimov bf655dd4c9 Update test CMakeLists files 2019-12-21 01:31:28 +02:00
Peter Dimov d5e4dda1b4 Update CMakeLists.txt acc. to latest superproject fashion 2019-12-21 01:18:26 +02:00
Peter Dimov ea37a24f98 Disable warnings exposed by address-model=64 2019-12-18 01:00:11 +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
Peter Dimov 3efbc9d3cd Suppress -Wsign-compare on g++ 4.7 more forcefully 2019-12-07 21:58:51 +02:00
Peter Dimov 4f91ee2e96 Suppress -Wsign-compare on g++ 4.7 2019-12-07 21:01:25 +02:00
Peter Dimov 523c23619c Use a better msvc-12/14 workaround in test/mp_unique_if.cpp 2019-12-07 20:52:18 +02:00
Peter Dimov 6a2e8e8384 Update test/mp_unique_if_q.cpp 2019-12-07 20:33:37 +02:00
Peter Dimov d151f9a712 Update test/mp_unique_if.cpp 2019-12-07 20:32:16 +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 0ca69d98c9 Add test/mpl_tuple.cpp 2019-08-23 20:51:13 +03:00
Peter Dimov 85a2099874 Add test/mpl_list.cpp 2019-08-23 20:49:51 +03:00
Peter Dimov 417e0db55a test/mp_for_each: Disable warning 4307 on MSVC 2019-04-18 09:49:00 +03:00
Peter Dimov b6b1805c8c Add <boost/mp11/version.hpp> 2019-03-04 20:29:49 +02:00
Peter Dimov 99d5947661 Enable <warnings>all on msvc 2019-02-19 16:51:51 +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 fc8bfcf601 Add mp_eval_or 2019-02-14 21:03:13 +02:00
Peter Dimov ca7e140827 Add mp_valid_q 2019-02-14 20:15:29 +02:00
Peter Dimov beb9c2dd59 Add mp_eval_if_not 2019-02-14 19:57:04 +02:00