| 331 | |
| 332 | template <typename Sequence, typename Pred> |
| 333 | struct 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 | |
| 344 | template <typename Sequence, typename Pred = mpl::quote2<less>> |
| 345 | struct sort { |
no test coverage detected