293 Commits

Author SHA1 Message Date
Peter Dimov
d27d821192 Test mp_fold and mp_reverse_fold with std::pair. Refs #108. 2025-10-21 18:48:33 +03:00
Peter Dimov
f8ee448fa5 Add test case from #106. Refs #106. 2025-05-08 03:04:21 +03:00
Peter Dimov
e2277a5b2e Add test/mp_from_sequence_3.cpp. Refs #103. 2025-01-07 21:08:55 +02:00
Peter Dimov
abcb365993 Use N=257 for all compilers lacking C++14 constexpr 2024-12-21 22:03:10 +02:00
Peter Dimov
35435bf206 Add N=1089 test case to test/mp_find_if_q.cpp 2024-12-21 21:40:56 +02:00
Peter Dimov
c08451873c test/mp_find: Decrease N to 257 for MSVC without constexpr 2024-12-21 21:24:02 +02:00
Peter Dimov
784ff13c6e Add a test with N=1089 to mp_find.cpp 2024-12-21 21:04:34 +02:00
Peter Dimov
8ceb48b4c9 Stylistic changes to mp_lambda 2024-10-14 19:37:36 +03:00
joaquintides
ead27ca191 Feature/lambda (#96)
* added mp_lambda

* launched GHA

* skipped ICE-generating test in GCC < 4.9

* fixed GCC detection in workaround

* test-skipped and documented GCC 4.8 bug

* added missing s/const/CONST

* tempirarily expanded macro to isolate problem with VS2017

* tried workaround for C3546

* tried another workaround

* wrapped workaround up

* dropped unnecessary devoiding in variadic (member) functions

* temporary code to check VS compliance wrt function qualifiers

* removed version printer

* checked compliance with qualified (member) function partial specialization

* checked each partial specialization individually

* wrapped up VS2013 investigation

* left variadics out of VS2013

* skipped noexcept-involving tests for VS2013 (keyword not supported)

* given up on VS2013 support for mp_lambda

* dropped lambda_devoid_args
2024-10-14 18:15:14 +03:00
Peter Dimov
03a2d3ae5f Add VERBATIM to add_custom_target 2024-08-27 15:31:21 +03:00
Peter Dimov
bbd1fab539 Update build.jam, test/Jamfile 2024-08-27 14:44:26 +03:00
Rene Rivera
86621c74c3 Change all <source> references to <library>. 2024-07-20 19:40:50 -05:00
Rene Rivera
2823cf1427 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Peter Dimov
ed049f2741 Add a test that includes <complex.h> before mp11.hpp. Refs #88. 2023-12-21 20:35:22 +02:00
Peter Dimov
4db3374eed Add value list support to mp_transform (for up to three lists). Closes #86. 2023-12-18 05:53:20 +02:00
Peter Dimov
f8fb53c775 Work around MSVC failures 2023-12-18 02:37:52 +02:00
Peter Dimov
9e1a5d014f Add mp_transform_q test for up to 32 lists 2023-12-18 01:52:29 +02:00
Peter Dimov
ee5f1d620f Add value list support to mp_min_element, mp_max_element. Fixes #87. 2023-12-17 20:37:56 +02:00
Peter Dimov
eb3ea17c81 Add value list test for mp_slice 2023-12-17 19:11:05 +02:00
Braden Ganetsky
b052fa1bc5 Add mp_slice_c and mp_slice tests 2023-11-28 18:32:20 -06:00
Peter Dimov
82a1cb6f36 Work around msvc-12.0 failures in mp_sliding_fold tests 2023-11-27 02:05:19 +02:00
Braden Ganetsky
d16fb0201c Add mp_sliding_fold tests 2023-07-30 22:54:14 -05:00
Peter Dimov
189ba0e83d Add test for mp_insert with value lists. Refs #53. 2023-05-16 22:16:21 +03:00
Peter Dimov
b756e5e0d7 Add test for mp_erase with value lists. Refs #53. 2023-05-16 21:59:35 +03:00
Peter Dimov
8360babe87 Disable msvc-14.0 warning in mp_repeat_3.cpp. 2023-05-16 20:29:42 +03:00
Peter Dimov
1a8fa7064c Add value list support to mp_drop. Refs #53. 2023-05-16 20:24:06 +03:00
Peter Dimov
c1787b95d6 Add test for mp_pop_back with value lists. Refs #53. 2023-05-16 19:57:16 +03:00
Peter Dimov
c1a012ad45 Add value list support to mp_take. Refs #53. 2023-05-16 19:46:38 +03:00
Peter Dimov
ac65812efd Add a test for mp_back with value lists. Refs #53. 2023-05-16 19:21:53 +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
e93cf70178 Make mp_is_value_list public. Refs #53. 2023-05-16 17:19:23 +03:00
Peter Dimov
efbaa77749 Add test/mp_repeat_3.cpp 2023-05-16 17:02:38 +03:00
Peter Dimov
ddd2ad7bb6 Add mp_repeat test with value lists. Refs #53. 2023-05-16 16:38:23 +03:00
Peter Dimov
64532c4792 Add support for (homogeneous) value lists to mp_append. Refs #53. 2023-05-16 02:37:59 +03:00
Peter Dimov
0113ee9246 Add support for value lists to mp_transform_first, mp_transform_second, mp_transform_third. Refs #53. 2023-05-15 20:11:34 +03:00
Peter Dimov
4545835a8b Add support for value lists to mp_replace_first, mp_replace_second, mp_replace_third. Refs #53. 2023-05-15 18:05:02 +03:00
Peter Dimov
8615aed8e8 Add support for value lists to mp_push_back. Refs #53. 2023-05-15 17:30:09 +03:00
Peter Dimov
7cfb1b9b97 Add support for value lists to mp_push_front. Refs #53. 2023-05-15 16:53:55 +03:00
Peter Dimov
90669f2ff4 Add value list support to mp_second, mp_third. Refs #53. 2023-05-15 15:23:05 +03:00
Peter Dimov
d02f361b1b Add support for value lists to mp_pop_front. Refs #53. 2023-05-15 15:04:15 +03:00
Peter Dimov
2c76388fdb Add support for value lists to mp_front. Refs #53. 2023-05-15 14:59:30 +03:00
Peter Dimov
481755ce7c Add support for value lists to mp_assign, mp_clear. Refs #53. 2023-05-15 14:34:06 +03:00
Peter Dimov
5186e7c294 Add mp_rename_v. Refs #53. 2023-05-14 22:03:39 +03:00
Peter Dimov
ac1b5c96ea Add mp_list_v. Refs #53. 2023-05-14 21:51:08 +03:00
Peter Dimov
9b4499b919 Add test for mp_empty with value lists. Refs #53. 2023-05-14 21:34:17 +03:00
Peter Dimov
b188fcd7f8 Update test/mp_rename_2.cpp 2023-05-14 21:27:58 +03:00
Peter Dimov
7944028c7a Add support for value lists to mp_size. Refs #53. 2023-05-14 21:22:16 +03:00
Peter Dimov
570acee866 Add mp_value; enable mp_rename on value lists. Refs #53. 2023-05-14 19:45:09 +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