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

Class partition

example/tutorial/appendix_mpl.cpp:333–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331
332template <typename Sequence, typename Pred>
333struct partition {
334 using hana_pair = decltype(hana::partition(
335 hana::to_tuple(Sequence{}),
336 detail::mpl_predicate<Pred>
337 ));
338 using type = pair<
339 decltype(hana::first(hana_pair{})),
340 decltype(hana::second(hana_pair{}))
341 >;
342};
343
344template <typename Sequence, typename Pred = mpl::quote2<less>>
345struct sort {

Callers 3

partition.cppFile · 0.85
partition.hppFile · 0.85
mainFunction · 0.85

Calls 2

firstClass · 0.85
secondClass · 0.85

Tested by

no test coverage detected