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

Function range

example/misc/restricted_function.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73
74template <typename Function>
75constexpr auto range(Function f) {
76 // We must convert to hana::tuple first because hana::set is not a Functor
77 return hana::to_set(hana::transform(hana::to_tuple(domain(f)), f));
78}
79
80template <typename P, typename Q>
81constexpr auto implies(P p, Q q) {

Callers 2

is_ontoFunction · 0.70
mainFunction · 0.70

Calls 2

transformClass · 0.85
domainFunction · 0.85

Tested by

no test coverage detected