MCPcopy Create free account
hub / github.com/boostorg/hana / for_each

Function for_each

example/tutorial/appendix_mpl.cpp:361–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359//////////////////////////////////////////////////////////////////////////////
360template <typename Sequence, typename F>
361void for_each(F f) {
362 hana::for_each(Sequence{}, [&f](auto t) {
363 f(typename decltype(t)::type{});
364 });
365}
366
367template <typename Sequence, typename TransformOp, typename F>
368void for_each(F f) {

Callers 15

mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
fFunction · 0.85
mainFunction · 0.85
from_jsonFunction · 0.85
mainFunction · 0.85
for_each.hppFile · 0.85
TestComparableMethod · 0.85
TestComonadMethod · 0.85
TestFoldableMethod · 0.85

Calls

no outgoing calls

Tested by 15

mainFunction · 0.68
TestComparableMethod · 0.68
TestComonadMethod · 0.68
TestFoldableMethod · 0.68
TestFoldableMethod · 0.68
TestMonoidMethod · 0.68
TestHashableMethod · 0.68
TestFunctorMethod · 0.68
TestOrderableMethod · 0.68
TestSearchableMethod · 0.68
TestEuclideanRingMethod · 0.68
TestRingMethod · 0.68