| 238 | |
| 239 | template <typename S1, typename S2, typename Pred = mpl::quote2<std::is_same>> |
| 240 | struct equal |
| 241 | : decltype( // inefficient but whatever |
| 242 | hana::length(S1{}) == hana::length(S2{}) && |
| 243 | hana::all(hana::zip_shortest_with(detail::mpl_predicate<Pred>, |
| 244 | hana::to_tuple(S1{}), |
| 245 | hana::to_tuple(S2{}))) |
| 246 | ) |
| 247 | { }; |
| 248 | |
| 249 | ////////////////////////////////////////////////////////////////////////////// |
| 250 | // Transformation algorithms |
no outgoing calls