| 755 | template <typename ContainerIn, |
| 756 | typename ContainerOut = typename std::vector<ContainerIn>> |
| 757 | ContainerOut separate(const ContainerIn& xs) |
| 758 | { |
| 759 | static_assert(std::is_same<ContainerIn, |
| 760 | typename ContainerOut::value_type>::value, |
| 761 | "Containers do not match."); |
| 762 | typedef typename ContainerIn::value_type T; |
| 763 | return separate_on(identity<T>, xs); |
| 764 | } |
| 765 | |
| 766 | } // namespace fplus |
no test coverage detected