From 784ff13c6e5ed7ddc64700773a6386ece90d33ee Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 21 Dec 2024 21:04:34 +0200 Subject: [PATCH] Add a test with N=1089 to mp_find.cpp --- test/mp_find.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/test/mp_find.cpp b/test/mp_find.cpp index 21aeb26..e0c0ab3 100644 --- a/test/mp_find.cpp +++ b/test/mp_find.cpp @@ -59,5 +59,16 @@ int main() BOOST_TEST_TRAIT_TRUE((std::is_same, mp_size_t<1>>)); } + { + using boost::mp11::mp_iota_c; + + int const N = 1089; + + using L = mp_iota_c; + using R = mp_find>; + + BOOST_TEST_TRAIT_TRUE((std::is_same>)); + } + return boost::report_errors(); }