22#include < iostream> // std::cout
33#include < utility> // std::make_index_sequence
44
5- #include " for_each.hpp" // mlib::for_each
6- #include " tuple.hpp" // mlib::tuple
7- #include " transform.hpp" // mlib::transform
8- #include " select.hpp" // mlib::select
9- #include " find.hpp" // mlib::find
10- #include " tuple_reverse.hpp" // mlib::tuple_reverse
11- #include " constexpr_for.hpp" // mlib::constexpr_for
12- #include " constexpr_while.hpp" // mlib::constexpr_while
13- #include " refl_get.hpp" // mlib::refl_get
14- #include " get_nth_element.hpp" // mlib::get_nth_element
15- #include " pack.hpp" // mlib::value_pack
16- #include " constexpr_map.hpp" // mlib::constexpr_map
17- #include " count_if.hpp" // mlib::count_if
18- #include " pack_find.hpp" // mlib::pack_find
19- #include " parse_rules.hpp" // mlib::parse_rules
20- #include " constexpr_switch.hpp" // mlib::constexpr_switch
21- #include " constexpr_range.hpp" // mlib::constexpr_range
22- #include " string_parse.hpp" // mlib::string_parse
5+ #include " for_each.hpp" // mlib::for_each
6+ #include " tuple.hpp" // mlib::tuple
7+ #include " transform.hpp" // mlib::transform
8+ #include " select.hpp" // mlib::select
9+ #include " find.hpp" // mlib::find
10+ #include " tuple_reverse.hpp" // mlib::tuple_reverse
11+ #include " constexpr_for.hpp" // mlib::constexpr_for
12+ #include " constexpr_while.hpp" // mlib::constexpr_while
13+ #include " refl_get.hpp" // mlib::refl_get
14+ #include " get_nth_element.hpp" // mlib::get_nth_element
15+ #include " pack.hpp" // mlib::value_pack
16+ #include " constexpr_map.hpp" // mlib::constexpr_map
17+ #include " count_if.hpp" // mlib::count_if
18+ #include " pack_find.hpp" // mlib::pack_find
19+ #include " parse_rules.hpp" // mlib::parse_rules
20+ #include " constexpr_switch.hpp" // mlib::constexpr_switch
21+ #include " constexpr_range.hpp" // mlib::constexpr_range
22+ #include " string_parse.hpp" // mlib::string_parse
23+ #include " compile_time_while.hpp" // mlib::compile_time_while
2324
2425int main ()
2526{
@@ -40,7 +41,11 @@ int main()
4041 mlib::constexpr_while < 0 , [](int t) {t++; return t < 3 ; }, [&]() {std::cout << " Hello\n " ; }, [](int t) {return t + 1 ; } > ();
4142
4243 // highest number of recursion.
43- mlib::constexpr_while < 0 , [](int t) {t++; return t < 501 ; }, [&]() {std::cout << " ." ; }, [](int t) {return t + 1 ; } > ();
44+ mlib::constexpr_while < 0 , [](int t) {t++; return t < 501 ; }, []() {std::cout << " ." ; }, [](int t) {return t + 1 ; } > ();
45+
46+ std::cout << " \n\n\n " ;
47+
48+ mlib::compile_time_while < 0 , [](int t) {return t < 5 ; }, [](int t) {return t + 1 ; }, []() {std::cout << " ." ; } > ();
4449
4550 struct foo { int a; double b; char c; };
4651 foo f{42 , 3.14 , ' c' };
0 commit comments