Home
last modified time | relevance | path

Searched refs:tuple_for_each (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/hof/test/
Dtuple_for_each.cpp22 BOOST_HOF_STATIC_FUNCTION(tuple_for_each) = tuple_for_each_f{}; in BOOST_HOF_STATIC_FUNCTION() argument
31 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
39 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
51 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
59 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
73 tuple_for_each( std::move(tp), [&]( std::unique_ptr<int> p ){ s = s * 10 + *p; } ); in BOOST_HOF_TEST_CASE()
85 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
93 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
105 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
113 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in BOOST_HOF_TEST_CASE()
[all …]
/third_party/boost/libs/mp11/test/
Dtuple_for_each.cpp23 using boost::mp11::tuple_for_each; in main()
31 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in main()
39 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in main()
51 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in main()
59 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in main()
73 tuple_for_each( std::move(tp), [&]( std::unique_ptr<int> p ){ s = s * 10 + *p; } ); in main()
86 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in main()
94 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in main()
106 tuple_for_each( tp, [&]( int x ){ s = s * 10 + x; } ); in main()
114 tuple_for_each( std::move(tp), [&]( int x ){ s = s * 10 + x; } ); in main()
[all …]
Dtuple_for_each_cx.cpp41 constexpr auto r = boost::mp11::tuple_for_each( tp, assert_is_integral() ); in main()
51 constexpr auto r = boost::mp11::tuple_for_each( tp, 11 ); in main()
DJamfile153 run tuple_for_each.cpp ;
/third_party/boost/libs/mp11/doc/mp11/
Dtuple.adoc31 ## tuple_for_each(tp, f)
33 template<class Tp, class F> constexpr F tuple_for_each(Tp&& tp, F&& f);
35 `tuple_for_each(tp, f)` applies the function object `f` to each element of `tp` in order by evaluat…
Dexamples.adoc84 tuple_for_each( mp_product<mp_list, L, L>(), [](auto&& x){ test_result(x); } );
96 We then default-construct this tuple and pass it to `tuple_for_each`. `tuple_for_each(tp, f)` calls…
100 a templated `operator()` and pass that to `tuple_for_each` directly:
118 tuple_for_each( mp_product<mp_list, L, L>(), test_result() );
/third_party/boost/libs/hof/example/
Dsequence.cpp25 BOOST_HOF_STATIC_LAMBDA_FUNCTION(tuple_for_each) = [](auto&& sequence, auto f)
78 tuple_for_each(t, [](int i) { std::cout << i << std::endl; }); in run_each()
/third_party/boost/boost/histogram/detail/
Daxes.hpp49 mp11::tuple_for_each(t, p); in for_each_axis_impl()
247 mp11::tuple_for_each(t, [&](const auto& ti) { in axes_equal_impl()
297 mp11::tuple_for_each(t, [&](auto& ti) { in axes_assign()
313 mp11::tuple_for_each(u, [&](const auto& ui) { *it++ = ui; }); in axes_assign()
332 mp11::tuple_for_each(t, [&ar](auto& x) { ar& make_nvp("item", x); }); in axes_serialize()
/third_party/boost/libs/histogram/test/
Dstd_ostream.hpp28 ::boost::mp11::tuple_for_each(t, [&os](const auto& x) { os << x << " "; }); in operator <<()
/third_party/boost/boost/mp11/
Dtuple.hpp85 template<class Tp, class F> BOOST_MP11_CONSTEXPR F tuple_for_each( Tp && tp, F && f ) in tuple_for_each() function